From: Alan Knowles Date: Fri, 11 Feb 2011 05:09:46 +0000 (+0800) Subject: roojs-debug.js X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=4f6cf03af621fbe80ddf412664a75accd5566720 roojs-debug.js --- diff --git a/roojs-debug.js b/roojs-debug.js index dc5c4510ee..a07d67f2c6 100644 --- a/roojs-debug.js +++ b/roojs-debug.js @@ -29678,7 +29678,8 @@ Roo.LayoutDialog = function(el, cfg){ config = Roo.apply({}, el); // not sure why we use documentElement here.. - it should always be body. // IE7 borks horribly if we use documentElement. - el = Roo.get( Roo.isIE ? (document.body || document.documentElement) : (document.documentElement || document.body) ).createChild(); + // webkit also does not like documentElement - it creates a body element... + el = Roo.get( document.body || document.documentElement ).createChild(); //config.autoCreate = true; }