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

This commit is contained in:
Scott González 2009-07-09 03:22:57 +00:00
parent ceb661f959
commit 292d9df1ce
2 changed files with 2 additions and 3 deletions

View File

@ -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;

View File

@ -394,7 +394,6 @@ $.widget("ui.draggable", $.extend({}, $.ui.mouse, {
return {
helper: this.helper,
position: this.position,
absolutePosition: this.positionAbs, //deprecated
offset: this.positionAbs
};
}