From: Alan Knowles Date: Mon, 21 Nov 2011 09:56:21 +0000 (+0800) Subject: Roo/MessageBox.js X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=344137cddecd3464643ab297f5201417d7bc1b1b;p=roojs1 Roo/MessageBox.js --- diff --git a/Roo/MessageBox.js b/Roo/MessageBox.js index 2328c612c0..73b095d1d6 100644 --- a/Roo/MessageBox.js +++ b/Roo/MessageBox.js @@ -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());