aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Antonio Marquez2012-02-29 11:46:44 -0800
committerJose Antonio Marquez2012-02-29 11:46:44 -0800
commit03d277db80b6cea9a25320c0575ae2bf7a6d7e6e (patch)
treefdaf7620bf332aac817ec4d39e3c1323fd4d5727
parentbb3e42b531848b400670df6caf0f3ce02adf1243 (diff)
downloadninja-03d277db80b6cea9a25320c0575ae2bf7a6d7e6e.tar.gz
Preview Fix
Adding save all logic before preview, temporary fix.
-rwxr-xr-xjs/document/html-document.js2
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]});