Skip to content
Permalink
Browse files

draggable,droppable,sortable: deprecated ui.absolutePosition, changed…

… to ui.offset (fixes #3978,#3977,#3976)
  • Loading branch information
Paul Bakaus
Paul Bakaus committed Jan 29, 2009
1 parent c88df4d commit 669bdb333ae9c52e04e177e4a7d2e21353d1bb1b
Showing with 6 additions and 3 deletions.
  1. +2 −1 ui/ui.draggable.js
  2. +2 −1 ui/ui.droppable.js
  3. +2 −1 ui/ui.sortable.js
@@ -387,7 +387,8 @@ $.widget("ui.draggable", $.extend({}, $.ui.mouse, {
return {
helper: this.helper,
position: this.position,
absolutePosition: this.positionAbs
absolutePosition: this.positionAbs, //deprecated
offset: this.positionAbs
};
}

@@ -125,7 +125,8 @@ $.widget("ui.droppable", {
draggable: (c.currentItem || c.element),
helper: c.helper,
position: c.position,
absolutePosition: c.positionAbs
absolutePosition: c.positionAbs, //deprecated
offset: c.positionAbs
};
}

@@ -971,7 +971,8 @@ $.widget("ui.sortable", $.extend({}, $.ui.mouse, {
helper: self.helper,
placeholder: self.placeholder || $([]),
position: self.position,
absolutePosition: self.positionAbs,
absolutePosition: self.positionAbs, //deprecated
offset: self.positionAbs,
item: self.currentItem,
sender: inst ? inst.element : null
};

0 comments on commit 669bdb3

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