aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/dialog
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2010-12-10 13:42:29 -0500
committerScott González <scott.gonzalez@gmail.com>2010-12-10 13:42:29 -0500
commit0e15f573d6f1d5c138ce63d2a462737dbb874faa (patch)
tree3373aa55d61f68b01ae2344cc29ee6b2a6f667bd /tests/unit/dialog
parent866c5959261227c343c397d5c2904bb8f9215ef2 (diff)
downloadjquery-ui-0e15f573d6f1d5c138ce63d2a462737dbb874faa.tar.gz
jquery-ui-0e15f573d6f1d5c138ce63d2a462737dbb874faa.zip
Revert "Dialog: Moved the default value for the position.of option inside the _position() method to avoid a bug in jQuery 1.3.2. Fixes #6030 - ui.dialog with jQuery 1.3.2 causes RangeError."
This reverts commit 22671ad4f8e3e2e921c27bd2933fa088950abf2f.
Diffstat (limited to 'tests/unit/dialog')
-rw-r--r--tests/unit/dialog/dialog_defaults.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/unit/dialog/dialog_defaults.js b/tests/unit/dialog/dialog_defaults.js
index 7c94d3336..612fd58c8 100644
--- a/tests/unit/dialog/dialog_defaults.js
+++ b/tests/unit/dialog/dialog_defaults.js
@@ -20,6 +20,7 @@ var dialog_defaults = {
position: {
my: 'center',
at: 'center',
+ of: window,
collision: 'fit',
using: $.ui.dialog.prototype.options.position.using
},