builder.html.js
authorAlan Knowles <alan@akbkhome.com>
Thu, 6 May 2010 10:30:56 +0000 (18:30 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 6 May 2010 10:30:56 +0000 (18:30 +0800)
builder.html.js

index 30d27c7..3eaf929 100644 (file)
@@ -40,11 +40,8 @@ Builder  = {
             this.dialogroot.remove();
             this.dialogroot = false;
         }
-        if (this.layoutbase) {
-            
-            while (document.body.childNodes.length) {
-                Roo.get(document.body.childNodes[0]).remove();
-            }
+        if (this.layoutbase.el) {
+            console.dump(this.layoutbase);
             
             this.layoutbase= false;
         }