From 176b2d21cd959d88fc30676cd2c5f081f6b64c15 Mon Sep 17 00:00:00 2001 From: Richard Worth Date: Mon, 9 Feb 2009 11:15:23 +0000 Subject: [PATCH] dialog: added some missing defaults --- tests/unit/dialog/dialog_defaults.js | 6 ++++-- ui/ui.dialog.js | 4 ++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/tests/unit/dialog/dialog_defaults.js b/tests/unit/dialog/dialog_defaults.js index eb9d36bf7..9607bf194 100644 --- a/tests/unit/dialog/dialog_defaults.js +++ b/tests/unit/dialog/dialog_defaults.js @@ -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, diff --git a/ui/ui.dialog.js b/ui/ui.dialog.js index fb3def446..f6cd5ac20 100644 --- a/ui/ui.dialog.js +++ b/ui/ui.dialog.js @@ -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, -- 2.39.5