From d4c687819a861a3b779494ec8fb5e9fe958153f4 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 6 May 2010 18:29:18 +0800 Subject: [PATCH] builder.html.js --- builder.html.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/builder.html.js b/builder.html.js index d0dec3983..30d27c731 100644 --- a/builder.html.js +++ b/builder.html.js @@ -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; } -- 2.39.2