aboutsummaryrefslogtreecommitdiff
path: root/js/controllers
diff options
context:
space:
mode:
authorJose Antonio Marquez2012-05-10 14:54:38 -0700
committerJose Antonio Marquez2012-05-10 14:54:38 -0700
commitfb7a3aa9ce0d9b99dca79cfb89951b5c51523250 (patch)
tree3fdda43c5f4fc7d83bab9de16f5b02c1155aec20 /js/controllers
parent254e2f8ee3e915c7dafe445c724b88434fb52f28 (diff)
downloadninja-fb7a3aa9ce0d9b99dca79cfb89951b5c51523250.tar.gz
Adding partial close functionality
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 ////////////////////////////////////////////////////////////////////