From 903513538b210e13c90713f5b3cae261946f6f9e Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 6 May 2010 17:30:29 +0800 Subject: [PATCH] builder.html.js --- builder.html.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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); -- 2.39.2