diff options
author | Jose Antonio Marquez | 2012-02-22 23:53:38 -0800 |
---|---|---|
committer | Jose Antonio Marquez | 2012-02-22 23:53:38 -0800 |
commit | d264092596ba697cd04738566184270dc608be63 (patch) | |
tree | 5e2138fe5fe45696bda3f8a620c92c5a60d36c31 /js/document | |
parent | 950bb79b1907e4f97735bed1430401dfd797fb0d (diff) | |
download | ninja-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')
-rwxr-xr-x | js/document/html-document.js | 2 |
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 | } |