Skip to content

Commit f560862

Browse files
jonspalmerscottgonzalez
authored andcommitted
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
1 parent ca42e11 commit f560862

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ui/jquery.ui.dialog.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -528,6 +528,7 @@ $.widget("ui.dialog", {
528528
break;
529529
case "buttons":
530530
self._createButtons(value);
531+
resize = true;
531532
break;
532533
case "closeText":
533534
// convert whatever was passed in to a string, for text() to not throw up

0 commit comments

Comments
 (0)