Search and Top Navigation
Ticket #4826: 4826_dialog_option_resizable_false.patch
File 4826_dialog_option_resizable_false.patch, 0.6 KB (added by caphun, September 15, 2009 02:58PM UTC)
fixes #4826 - dialog reziable on toggle when resizable option set to false
### Eclipse Workspace Patch 1.0
#P jquery-ui
Index: trunk/ui/ui.dialog.js
===================================================================
--- trunk/ui/ui.dialog.js (revision 3225)
+++ trunk/ui/ui.dialog.js (working copy)
@@ -465,7 +465,7 @@
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 || ' ');
Download in other formats:
Original Format
File 4826_dialog_option_resizable_false.patch, 0.6 KB (added by caphun, September 15, 2009 02:58PM UTC)
fixes #4826 - dialog reziable on toggle when resizable option set to false
### Eclipse Workspace Patch 1.0
#P jquery-ui
Index: trunk/ui/ui.dialog.js
===================================================================
--- trunk/ui/ui.dialog.js (revision 3225)
+++ trunk/ui/ui.dialog.js (working copy)
@@ -465,7 +465,7 @@
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 || ' ');