aboutsummaryrefslogtreecommitdiff
path: root/js/controllers/document-controller.js
diff options
context:
space:
mode:
authorValerio Virgillito2012-05-10 15:08:12 -0700
committerValerio Virgillito2012-05-10 15:08:12 -0700
commitbcc9f5edaf73529c057433bb3ee8219f3c6935b2 (patch)
treeaa5792ea41243f3a451c6bd34c63f0f175f50602 /js/controllers/document-controller.js
parent6b65188b7a4a21ae1e575282fd5b6198b22ca7b7 (diff)
parent6e3617e56c60894649e3df9c7e4563e99a3f793a (diff)
downloadninja-bcc9f5edaf73529c057433bb3ee8219f3c6935b2.tar.gz
Merge branch 'dom-architecture' of github.com:Motorola-Mobility/ninja-internal into dom-architecture
Diffstat (limited to 'js/controllers/document-controller.js')
-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 ////////////////////////////////////////////////////////////////////