Skip to content
Permalink
Browse files

Dialog: modified the dialog._size()to use outerHeight in calculating …

…the nonContentHeight.

Fixed #7692 - dialog: dialog height bug is incorrect when .ui-dialog padding set
  • Loading branch information...
JamesKhoury committed Nov 21, 2011
1 parent 66f9e12 commit 2210be416a679ded1afb8c1b57a0b74512a510cd
Showing with 1 addition and 1 deletion.
  1. +1 −1 ui/jquery.ui.dialog.js
@@ -625,7 +625,7 @@ $.widget("ui.dialog", {
height: "auto",
width: options.width
})
.height();
.outerHeight();
minContentHeight = Math.max( 0, options.minHeight - nonContentHeight );

if ( options.height === "auto" ) {

0 comments on commit 2210be4

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