diff options
author | Jose Antonio Marquez | 2012-02-29 11:46:44 -0800 |
---|---|---|
committer | Jose Antonio Marquez | 2012-02-29 11:46:44 -0800 |
commit | 03d277db80b6cea9a25320c0575ae2bf7a6d7e6e (patch) | |
tree | fdaf7620bf332aac817ec4d39e3c1323fd4d5727 /js/document | |
parent | bb3e42b531848b400670df6caf0f3ce02adf1243 (diff) | |
download | ninja-03d277db80b6cea9a25320c0575ae2bf7a6d7e6e.tar.gz |
Preview Fix
Adding save all logic before preview, temporary fix.
Diffstat (limited to 'js/document')
-rwxr-xr-x | js/document/html-document.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/document/html-document.js b/js/document/html-document.js index 60eecc59..579603e0 100755 --- a/js/document/html-document.js +++ b/js/document/html-document.js | |||
@@ -647,7 +647,7 @@ exports.HTMLDocument = Montage.create(TextDocument, { | |||
647 | enumerable: false, | 647 | enumerable: false, |
648 | value: function () { | 648 | value: function () { |
649 | //TODO: Add logic to handle save before preview | 649 | //TODO: Add logic to handle save before preview |
650 | this.saveAll(); | 650 | this.application.ninja.documentController.handleExecuteSaveAll(null); |
651 | //Launching 'blank' tab for testing movie | 651 | //Launching 'blank' tab for testing movie |
652 | window.open(this.application.ninja.coreIoApi.rootUrl+this.application.ninja.documentController._activeDocument.uri.split(this.application.ninja.coreIoApi.cloudData.root)[1]); | 652 | window.open(this.application.ninja.coreIoApi.rootUrl+this.application.ninja.documentController._activeDocument.uri.split(this.application.ninja.coreIoApi.cloudData.root)[1]); |
653 | //chrome.tabs.create({url: this.application.ninja.coreIoApi.rootUrl+this.application.ninja.documentController._activeDocument.uri.split(this.application.ninja.coreIoApi.cloudData.root)[1]}); | 653 | //chrome.tabs.create({url: this.application.ninja.coreIoApi.rootUrl+this.application.ninja.documentController._activeDocument.uri.split(this.application.ninja.coreIoApi.cloudData.root)[1]}); |