diff options
author | Jose Antonio Marquez | 2012-05-10 14:54:38 -0700 |
---|---|---|
committer | Jose Antonio Marquez | 2012-05-10 14:54:38 -0700 |
commit | fb7a3aa9ce0d9b99dca79cfb89951b5c51523250 (patch) | |
tree | 3fdda43c5f4fc7d83bab9de16f5b02c1155aec20 /js/controllers | |
parent | 254e2f8ee3e915c7dafe445c724b88434fb52f28 (diff) | |
download | ninja-fb7a3aa9ce0d9b99dca79cfb89951b5c51523250.tar.gz |
Adding partial close functionality
Diffstat (limited to 'js/controllers')
-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 | //////////////////////////////////////////////////////////////////// |