Skip to content
Permalink
Browse files

Dialog: Don't allow the height of the content area to be negative.

  • Loading branch information
scottgonzalez committed Feb 9, 2009
1 parent 615127e commit 0413807dfb45d44ae513d8522f6bc29b42ea8db1
Showing with 1 addition and 1 deletion.
  1. +1 −1 ui/ui.dialog.js
@@ -469,7 +469,7 @@ $.widget("ui.dialog", {
minHeight: Math.max(options.minHeight - nonContentHeight, 0),
height: options.height == 'auto'
? 'auto'
: options.height - nonContentHeight
: Math.max(options.height - nonContentHeight, 0)
});
}
});

0 comments on commit 0413807

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