diff options
Diffstat (limited to 'js/controllers/document-controller.js')
-rwxr-xr-x | js/controllers/document-controller.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/js/controllers/document-controller.js b/js/controllers/document-controller.js index 682bd6a6..58fa4de7 100755 --- a/js/controllers/document-controller.js +++ b/js/controllers/document-controller.js | |||
@@ -211,9 +211,14 @@ var DocumentController = exports.DocumentController = Montage.create(Component, | |||
211 | //////////////////////////////////////////////////////////////////// | 211 | //////////////////////////////////////////////////////////////////// |
212 | handleExecuteFileClose:{ | 212 | handleExecuteFileClose:{ |
213 | value: function(event) { | 213 | value: function(event) { |
214 | if(this.activeDocument && this.application.ninja.coreIoApi.cloudAvailable()){ | 214 | if (this.activeDocument) { |
215 | this.activeDocument.closeDocument(); | ||
216 | } | ||
217 | /* | ||
218 | if(this.activeDocument && this.application.ninja.coreIoApi.cloudAvailable()){ | ||
215 | this.closeDocument(this.activeDocument.uuid); | 219 | this.closeDocument(this.activeDocument.uuid); |
216 | } | 220 | } |
221 | */ | ||
217 | } | 222 | } |
218 | }, | 223 | }, |
219 | //////////////////////////////////////////////////////////////////// | 224 | //////////////////////////////////////////////////////////////////// |