diff options
author | Scott González <scott.gonzalez@gmail.com> | 2009-07-09 03:22:57 +0000 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2009-07-09 03:22:57 +0000 |
commit | 292d9df1cec4d882961265dd2331b825e9549c4a (patch) | |
tree | 507b914a8b6828ad4e13f79daf5253e55ff51112 /tests/unit/draggable | |
parent | ceb661f95959cda35b1445b6e71bb23fb8e95e40 (diff) | |
download | jquery-ui-292d9df1cec4d882961265dd2331b825e9549c4a.tar.gz jquery-ui-292d9df1cec4d882961265dd2331b825e9549c4a.zip |
Draggable: Removed absolutePosition from ui hash. Fixes #3990 - Remove absolutePosition from ui hash.
Diffstat (limited to 'tests/unit/draggable')
-rw-r--r-- | tests/unit/draggable/draggable_options.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/draggable/draggable_options.js b/tests/unit/draggable/draggable_options.js index 9fc4f4de2..4162d0388 100644 --- a/tests/unit/draggable/draggable_options.js +++ b/tests/unit/draggable/draggable_options.js @@ -250,7 +250,7 @@ test("{ cursorAt: { left: -5, top: -5 } }", function() { $("#draggable2").draggable({ cursorAt: { left: cax, top: cay }, drag: function(event, ui) { - actual = ui.absolutePosition; + actual = ui.offset; } }); var el = $("#draggable2").data("draggable").element; @@ -274,7 +274,7 @@ test("{ cursorAt: { left: -5, top: -5 } }", function() { $("#draggable1").draggable({ cursorAt: { left: cax, top: cay }, drag: function(event, ui) { - actual = ui.absolutePosition; + actual = ui.offset; } }); var el = $("#draggable2").data("draggable").element; |