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

index a5491be..5407443 100644 (file)
@@ -1173,6 +1173,8 @@ Roo.LayoutDialog = function(el, cfg){
     var config=  cfg;
     if (typeof(cfg) == 'undefined') {
         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( document.body || document.documentElement).createChild();
         //config.autoCreate = true;
     }