From: Alan Knowles Date: Sun, 8 Apr 2012 06:57:37 +0000 (+0800) Subject: builder.html.js X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=cc130ccf9bb4b960e8534b545f02c601b21c9871;p=app.Builder.js builder.html.js --- diff --git a/builder.html.js b/builder.html.js index 322a9bdb5..e92363077 100644 --- a/builder.html.js +++ b/builder.html.js @@ -23,7 +23,7 @@ Builder = { this.scriptTag = document.body.appendChild(document.createElement('script')); this.scriptTag.setAttribute('type','text/javascript'); - + this.id++; this.scriptTag.appendChild( document.createTextNode( @@ -37,7 +37,10 @@ Builder = { if (!Builder.click) { Builder.click= Roo.get(document.body).on('click', this.onclick, this); } - (function() { + + + + (function() { Builder.tree = Builder['_src' + this.id]; Roo.log("Tree is :" + Builder.tree); Builder.redraw(false); @@ -45,6 +48,7 @@ Builder = { }, + tree : {}, renderObj : { isBuilder : true }, dialogroot : false,