diff options
author | Richard Worth <rdworth@gmail.com> | 2009-09-19 09:35:53 +0000 |
---|---|---|
committer | Richard Worth <rdworth@gmail.com> | 2009-09-19 09:35:53 +0000 |
commit | af178c00f160a38dbbaf2fba630ecf9c0ca5ec0b (patch) | |
tree | 362a9b91711ab67f48e001fafdac0bbd337e9bfd /ui/jquery.ui.dialog.js | |
parent | 6f1b0d80be4633fdfc132dda0d9f73babc6ab13b (diff) | |
download | jquery-ui-af178c00f160a38dbbaf2fba630ecf9c0ca5ec0b.tar.gz jquery-ui-af178c00f160a38dbbaf2fba630ecf9c0ca5ec0b.zip |
dialog: fixed enable and disable methods
Diffstat (limited to 'ui/jquery.ui.dialog.js')
-rw-r--r-- | ui/jquery.ui.dialog.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ui/jquery.ui.dialog.js b/ui/jquery.ui.dialog.js index 07d1defb1..ddeeda7c6 100644 --- a/ui/jquery.ui.dialog.js +++ b/ui/jquery.ui.dialog.js @@ -442,6 +442,11 @@ $.widget("ui.dialog", { .removeClass(self.options.dialogClass) .addClass(uiDialogClasses + value); break; + case "disabled": + (value + ? uiDialog.addClass('ui-dialog-disabled') + : uiDialog.removeClass('ui-dialog-disabled')); + break; case "draggable": (value ? self._makeDraggable() |