mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
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
This commit is contained in:
parent
ca42e114c3
commit
f560862666
1
ui/jquery.ui.dialog.js
vendored
1
ui/jquery.ui.dialog.js
vendored
@ -528,6 +528,7 @@ $.widget("ui.dialog", {
|
|||||||
break;
|
break;
|
||||||
case "buttons":
|
case "buttons":
|
||||||
self._createButtons(value);
|
self._createButtons(value);
|
||||||
|
resize = true;
|
||||||
break;
|
break;
|
||||||
case "closeText":
|
case "closeText":
|
||||||
// convert whatever was passed in to a string, for text() to not throw up
|
// convert whatever was passed in to a string, for text() to not throw up
|
||||||
|
Loading…
Reference in New Issue
Block a user