diff options
author | Scott González <scott.gonzalez@gmail.com> | 2009-01-29 04:12:35 +0000 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2009-01-29 04:12:35 +0000 |
commit | 9592848de39353ad29ce6ae13a1f3cb6dd8f6a2f (patch) | |
tree | cc7ecd4882f874a6631d6b9303ef65167039f7f1 /ui | |
parent | 4bf637bb2c1fe59844af0b3dd975c84c9a7e7403 (diff) | |
download | jquery-ui-9592848de39353ad29ce6ae13a1f3cb6dd8f6a2f.tar.gz jquery-ui-9592848de39353ad29ce6ae13a1f3cb6dd8f6a2f.zip |
Dialog: Fixed #3901, #3918, #3930: Don't let the minHeight for dialogs be negative (breaks IE).
Diffstat (limited to 'ui')
-rw-r--r-- | ui/ui.dialog.js | 2 |
1 files changed, 1 insertions, 1 deletions
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 |