diff options
author | Jose Antonio Marquez | 2012-05-22 18:02:01 -0700 |
---|---|---|
committer | Jose Antonio Marquez | 2012-05-22 18:02:01 -0700 |
commit | 75fe4f36a6768d688792bc1925cfa4bfa508ac3e (patch) | |
tree | 1e7a3360ffbc8044172e136bdf06043cd538fd82 /js/document | |
parent | b3e85f609f704d668c8022c53418f8056bc71260 (diff) | |
download | ninja-75fe4f36a6768d688792bc1925cfa4bfa508ac3e.tar.gz |
Adding redirect from app folder in templates
This doesn't resolve the issue of XHR requests made in Montage.
Diffstat (limited to 'js/document')
-rwxr-xr-x | js/document/views/design.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/js/document/views/design.js b/js/document/views/design.js index b3887fdf..6da1b2e4 100755 --- a/js/document/views/design.js +++ b/js/document/views/design.js | |||
@@ -105,6 +105,7 @@ exports.DesignDocumentView = Montage.create(BaseDocumentView, { | |||
105 | // | 105 | // |
106 | onTemplateLoad: { | 106 | onTemplateLoad: { |
107 | value: function (e) { | 107 | value: function (e) { |
108 | //console.log(this.iframe.contentWindow); | ||
108 | this.application.ninja.documentController._hackRootFlag = true; | 109 | this.application.ninja.documentController._hackRootFlag = true; |
109 | //TODO: Add support to constructing URL with a base HREF | 110 | //TODO: Add support to constructing URL with a base HREF |
110 | var basetag = this.content.document.getElementsByTagName('base'); | 111 | var basetag = this.content.document.getElementsByTagName('base'); |