aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.dialog.js
diff options
context:
space:
mode:
authorjzaefferer <joern.zaefferer@gmail.com>2010-03-26 12:45:32 -0400
committerjzaefferer <joern.zaefferer@gmail.com>2010-03-26 12:45:32 -0400
commitf1933142e485ceaaef9ef52e56abb9f43eaaad2d (patch)
tree3b70640ecf55aa40bee9c3c9946268792e39ba30 /ui/jquery.ui.dialog.js
parente8f397bc145ffd9de4441a269e0d45c5fe1fa9cf (diff)
parent6d9caf1e230b7b9a4291a8e3525eefad2f08b6f8 (diff)
downloadjquery-ui-f1933142e485ceaaef9ef52e56abb9f43eaaad2d.tar.gz
jquery-ui-f1933142e485ceaaef9ef52e56abb9f43eaaad2d.zip
Merge branch 'master' into tooltip
Diffstat (limited to 'ui/jquery.ui.dialog.js')
-rw-r--r--ui/jquery.ui.dialog.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/ui/jquery.ui.dialog.js b/ui/jquery.ui.dialog.js
index 0291c3da0..6e538b6e5 100644
--- a/ui/jquery.ui.dialog.js
+++ b/ui/jquery.ui.dialog.js
@@ -622,8 +622,11 @@ $.widget("ui.dialog", {
// reset content sizing
// hide for non content measurement because height: 0 doesn't work in IE quirks mode (see #4350)
- this.element.css('width', 'auto')
- .hide();
+ this.element.css({
+ width: 'auto',
+ minHeight: 0,
+ height: 0
+ });
// reset wrapper sizing
// determine the height of all the non-content elements