r1845 - trunk/ui
r1845 - trunk/ui
Author: scott.gonzalez
Date: Wed Jan 28 20:12:35 2009
New Revision: 1845
Modified:
trunk/ui/ui.dialog.js
Log:
Dialog: Fixed #3901, #3918, #3930: Don't let the minHeight for dialogs be
negative (breaks IE).
Modified: trunk/ui/ui.dialog.js
==============================================================================
--- trunk/ui/ui.dialog.js (original)
+++ trunk/ui/ui.dialog.js Wed Jan 28 20:12:35 2009
@@ -472,7 +472,7 @@
this.element
.css({
- minHeight: options.minHeight - nonContentHeight,
+ minHeight: Math.max(options.minHeight - nonContentHeight, 0),
height: options.height == 'auto'
? 'auto'
: options.height - nonContentHeight