diff options
author | Valerio Virgillito | 2012-06-05 13:49:59 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-06-05 13:49:59 -0700 |
commit | 9a429f22a958fe372309e241c480923b7462d426 (patch) | |
tree | 56273e3769c18c5623f9e8671f73189a75ad372a /js/controllers | |
parent | 73a62c95b5635fee903457279f0f5b57f164e0b5 (diff) | |
parent | fe376077b6e24bb01905cd83226912e25b043308 (diff) | |
download | ninja-9a429f22a958fe372309e241c480923b7462d426.tar.gz |
Merge pull request #263 from joseeight/Components
Saving Google Components (reel components)
Diffstat (limited to 'js/controllers')
-rwxr-xr-x | js/controllers/document-controller.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/controllers/document-controller.js b/js/controllers/document-controller.js index a90375af..bb0041eb 100755 --- a/js/controllers/document-controller.js +++ b/js/controllers/document-controller.js | |||
@@ -174,9 +174,9 @@ exports.DocumentController = Montage.create(Component, { | |||
174 | handleExecuteSaveAll: { | 174 | handleExecuteSaveAll: { |
175 | value: function(event) { | 175 | value: function(event) { |
176 | // | 176 | // |
177 | if((typeof this.activeDocument !== "undefined") && this.application.ninja.coreIoApi.cloudAvailable()){ | 177 | if((typeof this.currentDocument !== "undefined") && this.application.ninja.coreIoApi.cloudAvailable()){ |
178 | // | 178 | // |
179 | this.activeDocument.model.saveAll(); | 179 | this.currentDocument.model.saveAll(); |
180 | } else { | 180 | } else { |
181 | //TODO: Add error handling | 181 | //TODO: Add error handling |
182 | } | 182 | } |