diff options
author | Nivesh Rajbhandari | 2012-05-14 14:27:55 -0700 |
---|---|---|
committer | Nivesh Rajbhandari | 2012-05-14 14:27:55 -0700 |
commit | 8c014c75b7f7ac7cf854af6d2cc2f8d330335858 (patch) | |
tree | 75363bb706522143ac25ab12a563f1bc3fd62008 | |
parent | 734b6ad96d25bb67d0db4a0a75c331468e194809 (diff) | |
download | ninja-8c014c75b7f7ac7cf854af6d2cc2f8d330335858.tar.gz |
Fixing grid drawing bug.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
-rwxr-xr-x | js/document/document-html.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/document/document-html.js b/js/document/document-html.js index f8e88ede..b5203e92 100755 --- a/js/document/document-html.js +++ b/js/document/document-html.js | |||
@@ -105,7 +105,7 @@ exports.HtmlDocument = Montage.create(Component, { | |||
105 | this.documentRoot = this.model.views.design.document.body; | 105 | this.documentRoot = this.model.views.design.document.body; |
106 | } | 106 | } |
107 | //TODO: Why is this needed? | 107 | //TODO: Why is this needed? |
108 | this._liveNodeList = this.model.views.design.document.body.getElementsByTagName('*'); | 108 | this._liveNodeList = this.documentRoot.getElementsByTagName('*'); |
109 | //Initiliazing document model | 109 | //Initiliazing document model |
110 | document.application.njUtils.makeElementModel(this.documentRoot, "Body", "body"); | 110 | document.application.njUtils.makeElementModel(this.documentRoot, "Body", "body"); |
111 | //Adding observer to know when template is ready | 111 | //Adding observer to know when template is ready |