r2054 - in trunk: tests/unit/dialog ui

r2054 - in trunk: tests/unit/dialog ui


Author: rdworth
Date: Mon Feb 9 03:15:23 2009
New Revision: 2054
Modified:
trunk/tests/unit/dialog/dialog_defaults.js
trunk/ui/ui.dialog.js
Log:
dialog: added some missing defaults
Modified: trunk/tests/unit/dialog/dialog_defaults.js
==============================================================================
--- trunk/tests/unit/dialog/dialog_defaults.js    (original)
+++ trunk/tests/unit/dialog/dialog_defaults.js    Mon Feb 9 03:15:23 2009
@@ -12,13 +12,15 @@
    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,
Modified: trunk/ui/ui.dialog.js
==============================================================================
--- trunk/ui/ui.dialog.js    (original)
+++ trunk/ui/ui.dialog.js    Mon Feb 9 03:15:23 2009
@@ -484,12 +484,16 @@
        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,