Roo/MessageBox.js
[roojs1] / Roo / MessageBox.js
index 2328c61..73b095d 100644 (file)
@@ -181,10 +181,10 @@ Roo.MessageBox = function(){
             // to big, make it scoll.
             if ( bodyEl.getHeight() > (Roo.lib.Dom.getViewHeight() - 100)) {
                 bodyEl.setHeight ( Roo.lib.Dom.getViewHeight() - 100 );
-                bodyEl.el.dom.style.overflow = '';
+                bodyEl.dom.style.overflow = '';
             } else {
-                bodyEl.el.dom.style.height = '';
-                bodyEl.el.dom.style.overflowY = 'auto';
+                bodyEl.dom.style.height = '';
+                bodyEl.dom.style.overflowY = 'auto';
             }
             
             dlg.setContentSize(w, bodyEl.getHeight());