Skip to content
Permalink
Browse files

Draggable: Removed absolutePosition from ui hash. Fixes #3990 - Remov…

…e absolutePosition from ui hash.
  • Loading branch information
scottgonzalez committed Jul 9, 2009
1 parent ceb661f commit 292d9df1cec4d882961265dd2331b825e9549c4a
Showing with 2 additions and 3 deletions.
  1. +2 −2 tests/unit/draggable/draggable_options.js
  2. +0 −1 ui/ui.draggable.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;
@@ -394,7 +394,6 @@ $.widget("ui.draggable", $.extend({}, $.ui.mouse, {
return {
helper: this.helper,
position: this.position,
absolutePosition: this.positionAbs, //deprecated
offset: this.positionAbs
};
}

0 comments on commit 292d9df

Please sign in to comment.
You can’t perform that action at this time.