]> source.dussan.org Git - jquery-ui.git/commitdiff
Dialog: Updated test for default position option. QUnit still fails the test though.
authorScott González <scott.gonzalez@gmail.com>
Wed, 14 Jul 2010 20:38:16 +0000 (16:38 -0400)
committerScott González <scott.gonzalez@gmail.com>
Wed, 14 Jul 2010 20:38:16 +0000 (16:38 -0400)
tests/unit/dialog/dialog_defaults.js

index 999021d952775009b5e7143112fc8181f3d85449..2b107a6a0e513851cb3becf371c6aa0485c0cdc5 100644 (file)
@@ -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,