diff options
author | Valerio Virgillito | 2012-05-10 16:03:45 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-05-10 16:03:45 -0700 |
commit | 9d0356be5d05dfc53829a7c0cd26e6849f51be75 (patch) | |
tree | 2371f0d74ba67c724b2a4bdacbbb3fcd1df13b14 /js/document | |
parent | d6cec6193a16563e9d35d75f0caee49bab927cda (diff) | |
parent | c23c4bad96ebc4c2f85070e4cc2511030cac05fc (diff) | |
download | ninja-9d0356be5d05dfc53829a7c0cd26e6849f51be75.tar.gz |
Merge branch 'dom-architecture' of github.com:Motorola-Mobility/ninja-internal into dom-architecture
Diffstat (limited to 'js/document')
-rwxr-xr-x | js/document/views/design.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/js/document/views/design.js b/js/document/views/design.js index 1a8f4986..321f93e8 100755 --- a/js/document/views/design.js +++ b/js/document/views/design.js | |||
@@ -71,6 +71,7 @@ exports.DesignDocumentView = Montage.create(BaseDocumentView, { | |||
71 | // | 71 | // |
72 | render: { | 72 | render: { |
73 | value: function (callback, template) {//TODO: Add support for templates | 73 | value: function (callback, template) {//TODO: Add support for templates |
74 | this.application.ninja.documentController._hackRootFlag = false; | ||
74 | //Storing callback for dispatch ready | 75 | //Storing callback for dispatch ready |
75 | this._callback = callback; | 76 | this._callback = callback; |
76 | //Adding listener to know when template is loaded to then load user content | 77 | //Adding listener to know when template is loaded to then load user content |
@@ -83,6 +84,7 @@ exports.DesignDocumentView = Montage.create(BaseDocumentView, { | |||
83 | // | 84 | // |
84 | onTemplateLoad: { | 85 | onTemplateLoad: { |
85 | value: function (e) { | 86 | value: function (e) { |
87 | this.application.ninja.documentController._hackRootFlag = true; | ||
86 | //TODO: Add support to constructing URL with a base HREF | 88 | //TODO: Add support to constructing URL with a base HREF |
87 | var basetag = this.content.document.getElementsByTagName('base'); | 89 | var basetag = this.content.document.getElementsByTagName('base'); |
88 | //Removing event | 90 | //Removing event |