aboutsummaryrefslogtreecommitdiff
path: root/js/document
diff options
context:
space:
mode:
authorValerio Virgillito2012-02-29 12:06:21 -0800
committerValerio Virgillito2012-02-29 12:06:21 -0800
commit2f3e4d12aa15077d3cc9794862156e57b7815e68 (patch)
tree2f52260fe417a5a59eab3ec075db4c549e085419 /js/document
parent850f3a1f7ab81ec80b6de1c49f2d2bbcbfe87c8e (diff)
parent0996a519afccbed526912807c70c20d598e9cae7 (diff)
downloadninja-2f3e4d12aa15077d3cc9794862156e57b7815e68.tar.gz
Merge pull request #87 from joseeight/FileIO-Build-Candidate
Fixes to preview caching issues
Diffstat (limited to 'js/document')
-rwxr-xr-xjs/document/html-document.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/js/document/html-document.js b/js/document/html-document.js
index 826a59c0..5d507476 100755
--- a/js/document/html-document.js
+++ b/js/document/html-document.js
@@ -647,9 +647,10 @@ 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 chrome.tabs.create({url: 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 } 654 }
654 }, 655 },
655 //////////////////////////////////////////////////////////////////// 656 ////////////////////////////////////////////////////////////////////