aboutsummaryrefslogtreecommitdiff
path: root/js/document/views
diff options
context:
space:
mode:
authorJose Antonio Marquez2012-05-24 11:44:35 -0700
committerJose Antonio Marquez2012-05-24 11:44:35 -0700
commita6db492176a85546047dae6d5ecb9cfc4325e043 (patch)
tree8e00a27c6c908dda3e816d1f5aaf0d2a889ca5dc /js/document/views
parente64328dc08418730ca580d33381cb2001c7a96fd (diff)
downloadninja-a6db492176a85546047dae6d5ecb9cfc4325e043.tar.gz
Final clean up of render callback for design view
Diffstat (limited to 'js/document/views')
-rwxr-xr-xjs/document/views/design.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/document/views/design.js b/js/document/views/design.js
index 06708957..d772aa86 100755
--- a/js/document/views/design.js
+++ b/js/document/views/design.js
@@ -286,6 +286,8 @@ exports.DesignDocumentView = Montage.create(BaseDocumentView, {
286 } else { 286 } else {
287 this.model.documentRoot = this.document.body; 287 this.model.documentRoot = this.document.body;
288 } 288 }
289 //Storing node list for reference (might need to store in the model)
290 this._liveNodeList = this.model.documentRoot.getElementsByTagName('*');
289 //Initiliazing document model 291 //Initiliazing document model
290 document.application.njUtils.makeElementModel(this.model.documentRoot, "Body", "body"); 292 document.application.njUtils.makeElementModel(this.model.documentRoot, "Body", "body");
291 //Makign callback if specified 293 //Makign callback if specified