From 83910b6bd3db241b1f7dc6fbfa070954be989bc7 Mon Sep 17 00:00:00 2001 From: Scott González Date: Wed, 14 Jul 2010 16:38:16 -0400 Subject: Dialog: Updated test for default position option. QUnit still fails the test though. --- tests/unit/dialog/dialog_defaults.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'tests/unit') diff --git a/tests/unit/dialog/dialog_defaults.js b/tests/unit/dialog/dialog_defaults.js index 999021d95..2b107a6a0 100644 --- a/tests/unit/dialog/dialog_defaults.js +++ b/tests/unit/dialog/dialog_defaults.js @@ -17,7 +17,13 @@ var dialog_defaults = { minHeight: 150, minWidth: 150, modal: false, - position: 'center', + position: { + my: 'center', + at: 'center', + of: window, + collision: 'fit', + + }, resizable: true, show: null, stack: true, -- cgit v1.2.3