diff options
Diffstat (limited to 'js/document/views/design.js')
-rwxr-xr-x | js/document/views/design.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/document/views/design.js b/js/document/views/design.js index a69b7a81..d1c75c01 100755 --- a/js/document/views/design.js +++ b/js/document/views/design.js | |||
@@ -87,7 +87,7 @@ exports.DesignDocumentView = Montage.create(BaseDocumentView, { | |||
87 | render: { | 87 | render: { |
88 | value: function (callback, template) { | 88 | value: function (callback, template) { |
89 | //TODO: Remove, this is a temp patch for webRequest API gate | 89 | //TODO: Remove, this is a temp patch for webRequest API gate |
90 | this.application.ninja.documentController._hackRootFlag = false; | 90 | this.application.ninja.documentController.redirectRequests = false; |
91 | //Storing callback for dispatch ready | 91 | //Storing callback for dispatch ready |
92 | this._callback = callback; | 92 | this._callback = callback; |
93 | this._template = template; | 93 | this._template = template; |
@@ -106,7 +106,7 @@ exports.DesignDocumentView = Montage.create(BaseDocumentView, { | |||
106 | onTemplateLoad: { | 106 | onTemplateLoad: { |
107 | value: function (e) { | 107 | value: function (e) { |
108 | //console.log(this.iframe.contentWindow); | 108 | //console.log(this.iframe.contentWindow); |
109 | this.application.ninja.documentController._hackRootFlag = true; | 109 | this.application.ninja.documentController.redirectRequests = true; |
110 | //TODO: Add support to constructing URL with a base HREF | 110 | //TODO: Add support to constructing URL with a base HREF |
111 | var basetag = this.content.document.getElementsByTagName('base'); | 111 | var basetag = this.content.document.getElementsByTagName('base'); |
112 | //Removing event | 112 | //Removing event |