r3235 committed - dialog: Fixes #4826 - Setting resizable false toggles resizable on dia...

r3235 committed - dialog: Fixes #4826 - Setting resizable false toggles resizable on dia...


Revision: 3235
Author: pazu2k@gmail.com
Date: Tue Sep 15 09:53:39 2009
Log: dialog: Fixes #4826 - Setting resizable false toggles resizable on
dialog
http://code.google.com/p/jquery-ui/source/detail?r=3235
Modified:
/trunk/ui/ui.dialog.js
=======================================
--- /trunk/ui/ui.dialog.js    Tue Sep 15 01:40:17 2009
+++ /trunk/ui/ui.dialog.js    Tue Sep 15 09:53:39 2009
@@ -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 || ' ');