aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorJose Antonio Marquez2012-02-29 11:28:58 -0800
committerJose Antonio Marquez2012-02-29 11:28:58 -0800
commitbb3e42b531848b400670df6caf0f3ce02adf1243 (patch)
treea31cf6f58ad66362b5a951cb5031fe33295483be /js
parent795329d2225ff3b760f7f0ea3bb6b5e68f6c6b5b (diff)
downloadninja-bb3e42b531848b400670df6caf0f3ce02adf1243.tar.gz
Fix: Caching issue with chrome tab API
Using window.open to test movie.
Diffstat (limited to 'js')
-rwxr-xr-xjs/document/html-document.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/js/document/html-document.js b/js/document/html-document.js
index 6853f4d7..60eecc59 100755
--- a/js/document/html-document.js
+++ b/js/document/html-document.js
@@ -649,7 +649,8 @@ exports.HTMLDocument = Montage.create(TextDocument, {
649 //TODO: Add logic to handle save before preview 649 //TODO: Add logic to handle save before preview
650 this.saveAll(); 650 this.saveAll();
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 ////////////////////////////////////////////////////////////////////