From f560862666f89f9d6bac34712cb7f295f357f0e9 Mon Sep 17 00:00:00 2001 From: Jon Palmer Date: Sat, 10 Jul 2010 23:41:33 +0800 Subject: [PATCH] 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 --- ui/jquery.ui.dialog.js | 1 + 1 file changed, 1 insertion(+) 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 -- 2.39.5