Roo/BasicDialog.js
authorAlan Knowles <alan@akbkhome.com>
Mon, 20 Sep 2010 07:05:39 +0000 (15:05 +0800)
committerAlan Knowles <alan@akbkhome.com>
Mon, 20 Sep 2010 07:05:39 +0000 (15:05 +0800)
Roo/BasicDialog.js

index 589390a..a5491be 100644 (file)
@@ -1173,7 +1173,7 @@ Roo.LayoutDialog = function(el, cfg){
     var config=  cfg;
     if (typeof(cfg) == 'undefined') {
         config = Roo.apply({}, el);
-        el = Roo.get( document.documentElement || document.body).createChild();
+        el = Roo.get( document.body || document.documentElement).createChild();
         //config.autoCreate = true;
     }