From: Alan Knowles Date: Thu, 6 May 2010 09:30:29 +0000 (+0800) Subject: builder.html.js X-Git-Url: http://git.roojs.org/?p=app.Builder.js;a=commitdiff_plain;h=903513538b210e13c90713f5b3cae261946f6f9e builder.html.js --- diff --git a/builder.html.js b/builder.html.js index f54135e06..38018a945 100644 --- a/builder.html.js +++ b/builder.html.js @@ -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);