diff options
author | Valerio Virgillito | 2012-02-29 12:06:21 -0800 |
---|---|---|
committer | Valerio Virgillito | 2012-02-29 12:06:21 -0800 |
commit | 2f3e4d12aa15077d3cc9794862156e57b7815e68 (patch) | |
tree | 2f52260fe417a5a59eab3ec075db4c549e085419 /js/document | |
parent | 850f3a1f7ab81ec80b6de1c49f2d2bbcbfe87c8e (diff) | |
parent | 0996a519afccbed526912807c70c20d598e9cae7 (diff) | |
download | ninja-2f3e4d12aa15077d3cc9794862156e57b7815e68.tar.gz |
Merge pull request #87 from joseeight/FileIO-Build-Candidate
Fixes to preview caching issues
Diffstat (limited to 'js/document')
-rwxr-xr-x | js/document/html-document.js | 5 |
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 | //////////////////////////////////////////////////////////////////// |