Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 2210be4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/jquery.ui.dialog.js
Expand Up @@ -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" ) {
Expand Down

0 comments on commit 2210be4

Please sign in to comment.