From 0508fd0e04b104f0483f915cbc13b06605e08c0d Mon Sep 17 00:00:00 2001 From: Ca-Phun Ung Date: Tue, 15 Sep 2009 16:53:39 +0000 Subject: [PATCH] dialog: Fixes #4826 - Setting resizable false toggles resizable on dialog --- ui/ui.dialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 || ' '); -- 2.39.5