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

index f54135e..38018a9 100644 (file)
@@ -40,7 +40,10 @@ Builder  = {
             this.dialogroot.remove();
             this.dialogroot = false;
         }
-        
+        if (this.layoutbase) {
+            this.layoutbase.remove();
+            this.layoutbase= false;
+        }
          
         
     },
@@ -92,7 +95,7 @@ Builder  = {
         cfg.region = 'center';
         cfg.background = false;
 
-        new Roo[cfg.xtype](Roo.get( document.body), cfg); 
+        this.layoutbase = new Roo[cfg.xtype](Roo.get( document.body), cfg);