From: Ca-Phun Ung Date: Tue, 15 Sep 2009 16:53:39 +0000 (+0000) Subject: dialog: Fixes #4826 - Setting resizable false toggles resizable on dialog X-Git-Tag: 1.8a2~86 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=0508fd0e04b104f0483f915cbc13b06605e08c0d;p=jquery-ui.git dialog: Fixes #4826 - Setting resizable false toggles resizable on dialog --- diff --git a/ui/ui.dialog.js b/ui/ui.dialog.js index 6d7ca9ed5..a84947194 100644 --- a/ui/ui.dialog.js +++ b/ui/ui.dialog.js @@ -465,7 +465,7 @@ $.widget("ui.dialog", { uiDialog.resizable('option', 'handles', value)); // currently non-resizable, becoming resizable - (isResizable || self._makeResizable(value)); + (isResizable || (value !== false && self._makeResizable(value))); break; case "title": $(".ui-dialog-title", self.uiDialogTitlebar).html(value || ' ');