From e18a87c68e68945646796244c82ce742a9a6ee2c Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Mon, 21 Nov 2011 17:56:58 +0800 Subject: [PATCH] Roo/MessageBox.js --- Roo/MessageBox.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Roo/MessageBox.js b/Roo/MessageBox.js index 73b095d1d6..09c5a1384d 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.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()); -- 2.39.2