From 292d9df1cec4d882961265dd2331b825e9549c4a Mon Sep 17 00:00:00 2001 From: Scott González Date: Thu, 9 Jul 2009 03:22:57 +0000 Subject: Draggable: Removed absolutePosition from ui hash. Fixes #3990 - Remove absolutePosition from ui hash. --- tests/unit/draggable/draggable_options.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/unit/draggable') 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; -- cgit v1.2.3