]> source.dussan.org Git - jquery-ui.git/commitdiff
dialog: added some missing defaults
authorRichard Worth <rdworth@gmail.com>
Mon, 9 Feb 2009 11:15:23 +0000 (11:15 +0000)
committerRichard Worth <rdworth@gmail.com>
Mon, 9 Feb 2009 11:15:23 +0000 (11:15 +0000)
tests/unit/dialog/dialog_defaults.js
ui/ui.dialog.js

index eb9d36bf77c00a17b0d675cab69e3938f62c9db3..9607bf194dcb9f64b0c3dc6cd8c16fc72c9193d9 100644 (file)
@@ -12,13 +12,15 @@ var dialog_defaults = {
        dialogClass: '',
        draggable: true,
        height: 'auto',
-       maxHeight: undefined,
-       maxWidth: undefined,
+       hide: null,
+       maxHeight: false,
+       maxWidth: false,
        minHeight: 150,
        minWidth: 150,
        modal: false,
        position: 'center',
        resizable: true,
+       show: null,
        stack: true,
        title: '',
        width: 300,
index fb3def4462369dc42831a2b7e6cc23abfed7b58a..f6cd5ac2032c009a74aac069c7b664c3797a4600 100644 (file)
@@ -484,12 +484,16 @@ $.extend($.ui.dialog, {
                closeText: 'close',
                dialogClass: '',
                draggable: true,
+               hide: null,
                height: 'auto',
+               maxHeight: false,
+               maxWidth: false,
                minHeight: 150,
                minWidth: 150,
                modal: false,
                position: 'center',
                resizable: true,
+               show: null,
                stack: true,
                title: '',
                width: 300,