Roo/MessageBox.js
authorAlan Knowles <alan@akbkhome.com>
Mon, 21 Nov 2011 09:56:58 +0000 (17:56 +0800)
committerAlan Knowles <alan@akbkhome.com>
Mon, 21 Nov 2011 09:56:58 +0000 (17:56 +0800)
Roo/MessageBox.js

index 73b095d..09c5a13 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.dom.style.overflow = '';
+                bodyEl.dom.style.overflow = 'auto';
             } else {
                 bodyEl.dom.style.height = '';
-                bodyEl.dom.style.overflowY = 'auto';
+                bodyEl.dom.style.overflowY = '';
             }
             
             dlg.setContentSize(w, bodyEl.getHeight());