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

index d0dec39..30d27c7 100644 (file)
@@ -41,7 +41,11 @@ Builder  = {
             this.dialogroot = false;
         }
         if (this.layoutbase) {
-            this.layoutbase.el.remove();
+            
+            while (document.body.childNodes.length) {
+                Roo.get(document.body.childNodes[0]).remove();
+            }
+            
             this.layoutbase= false;
         }