aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.dialog.js
diff options
context:
space:
mode:
authorJon Palmer <jonspalmer@gmail.com>2010-07-10 23:41:33 +0800
committerScott González <scott.gonzalez@gmail.com>2010-07-11 06:42:46 +0800
commitf560862666f89f9d6bac34712cb7f295f357f0e9 (patch)
tree5f0b7de3cb34573e0283c3499b75589373a66715 /ui/jquery.ui.dialog.js
parentca42e114c34224b86b9759472ad5f6448bf24d26 (diff)
downloadjquery-ui-f560862666f89f9d6bac34712cb7f295f357f0e9.tar.gz
jquery-ui-f560862666f89f9d6bac34712cb7f295f357f0e9.zip
Dialog: add resize call when changing button options for correct height adjustment. Fixes remaining issues in #4846 - Setting Dialog height shorter after init hides button pane
Diffstat (limited to 'ui/jquery.ui.dialog.js')
-rw-r--r--ui/jquery.ui.dialog.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/jquery.ui.dialog.js b/ui/jquery.ui.dialog.js
index f0d9edffa..4de6b35ed 100644
--- a/ui/jquery.ui.dialog.js
+++ b/ui/jquery.ui.dialog.js
@@ -528,6 +528,7 @@ $.widget("ui.dialog", {
break;
case "buttons":
self._createButtons(value);
+ resize = true;
break;
case "closeText":
// convert whatever was passed in to a string, for text() to not throw up