diff options
author | Valerio Virgillito | 2012-02-29 12:10:03 -0800 |
---|---|---|
committer | Valerio Virgillito | 2012-02-29 12:10:03 -0800 |
commit | 052d9805a6f0a3a90d6849eb94eabffb7ec26962 (patch) | |
tree | f420f7ca8313343ee27244aef1ff600bfb0eab58 /js/document | |
parent | 3d233f25cff057fff5c5a75e4c4b40e88c22a8f5 (diff) | |
parent | 2f3e4d12aa15077d3cc9794862156e57b7815e68 (diff) | |
download | ninja-052d9805a6f0a3a90d6849eb94eabffb7ec26962.tar.gz |
Merge branch 'integration-candidate' of github.com:Motorola-Mobility/ninja-internal into integration-candidate
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 | //////////////////////////////////////////////////////////////////// |