From 9592848de39353ad29ce6ae13a1f3cb6dd8f6a2f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Scott=20Gonz=C3=A1lez?= Date: Thu, 29 Jan 2009 04:12:35 +0000 Subject: [PATCH] Dialog: Fixed #3901, #3918, #3930: Don't let the minHeight for dialogs be negative (breaks IE). --- ui/ui.dialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/ui.dialog.js b/ui/ui.dialog.js index e3b5bd1bc..756c3950e 100644 --- a/ui/ui.dialog.js +++ b/ui/ui.dialog.js @@ -472,7 +472,7 @@ $.widget("ui.dialog", { this.element .css({ - minHeight: options.minHeight - nonContentHeight, + minHeight: Math.max(options.minHeight - nonContentHeight, 0), height: options.height == 'auto' ? 'auto' : options.height - nonContentHeight -- 2.39.5