aboutsummaryrefslogtreecommitdiff
path: root/js/controllers
diff options
context:
space:
mode:
Diffstat (limited to 'js/controllers')
-rwxr-xr-xjs/controllers/document-controller.js7
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 /*
218if(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 ////////////////////////////////////////////////////////////////////