aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/dialog
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2012-12-07 16:57:03 -0500
committerScott González <scott.gonzalez@gmail.com>2012-12-07 16:57:03 -0500
commitd4551bc3b8dfbfd925700dcb9f71e7729b125889 (patch)
tree302c1de58f6e88b1cc36ab90c7f34a0951a19c20 /tests/unit/dialog
parent70b16ef445d8f9947fd414894d97673706ee8c6f (diff)
downloadjquery-ui-d4551bc3b8dfbfd925700dcb9f71e7729b125889.tar.gz
jquery-ui-d4551bc3b8dfbfd925700dcb9f71e7729b125889.zip
Dialog: Respect maxHeight when determining size on open. Fixes #4820 - Dialog: Auto height does not respect the maxHeight option.
Diffstat (limited to 'tests/unit/dialog')
-rw-r--r--tests/unit/dialog/dialog_common.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/dialog/dialog_common.js b/tests/unit/dialog/dialog_common.js
index 9657a9887..1a9b4e109 100644
--- a/tests/unit/dialog/dialog_common.js
+++ b/tests/unit/dialog/dialog_common.js
@@ -10,8 +10,8 @@ TestHelpers.commonWidgetTests( "dialog", {
draggable: true,
height: 'auto',
hide: null,
- maxHeight: false,
- maxWidth: false,
+ maxHeight: null,
+ maxWidth: null,
minHeight: 150,
minWidth: 150,
modal: false,