Skip to content
Permalink
Browse files

Dialog: Fixed #3901, #3918, #3930: Don't let the minHeight for dialog…

…s be negative (breaks IE).
  • Loading branch information
scottgonzalez committed Jan 29, 2009
1 parent 4bf637b commit 9592848de39353ad29ce6ae13a1f3cb6dd8f6a2f
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit 9592848

Please sign in to comment.
You can’t perform that action at this time.