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:
Jon Palmer 2010-07-10 23:41:33 +08:00 committed by Scott González
parent ca42e114c3
commit f560862666

View File

@ -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