aboutsummaryrefslogtreecommitdiff
path: root/js/document/html-document.js
diff options
context:
space:
mode:
authorJose Antonio Marquez2012-02-22 23:53:38 -0800
committerJose Antonio Marquez2012-02-22 23:53:38 -0800
commitd264092596ba697cd04738566184270dc608be63 (patch)
tree5e2138fe5fe45696bda3f8a620c92c5a60d36c31 /js/document/html-document.js
parent950bb79b1907e4f97735bed1430401dfd797fb0d (diff)
downloadninja-d264092596ba697cd04738566184270dc608be63.tar.gz
Temp fix for CSS url data
Added a temp fix to parse out the app url that is placed in the CSS styles.
Diffstat (limited to 'js/document/html-document.js')
-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 3f417ffc..143b1598 100755
--- a/js/document/html-document.js
+++ b/js/document/html-document.js
@@ -558,7 +558,7 @@ exports.HTMLDocument = Montage.create(TextDocument, {
558 enumerable: false, 558 enumerable: false,
559 value: function () { 559 value: function () {
560 //TODO: Add logic to handle save before preview 560 //TODO: Add logic to handle save before preview
561 this.save(); 561 this.saveAll();
562 //Launching 'blank' tab for testing movie 562 //Launching 'blank' tab for testing movie
563 chrome.tabs.create({url: this.application.ninja.coreIoApi.rootUrl+this.application.ninja.documentController._activeDocument.uri.split(this.application.ninja.coreIoApi.cloudData.root)[1]}); 563 chrome.tabs.create({url: this.application.ninja.coreIoApi.rootUrl+this.application.ninja.documentController._activeDocument.uri.split(this.application.ninja.coreIoApi.cloudData.root)[1]});
564 } 564 }