Skip to content
Permalink
Browse files

draggable, sortable: include originalPosition in ui hash, implements …

…#3782
  • Loading branch information...
Paul Bakaus
Paul Bakaus committed Aug 23, 2009
1 parent d2e43a0 commit fd618d042f0a7145e51e785ac02337d821d0b2c4
Showing with 2 additions and 0 deletions.
  1. +1 −0 ui/ui.draggable.js
  2. +1 −0 ui/ui.sortable.js
@@ -412,6 +412,7 @@ $.widget("ui.draggable", $.extend({}, $.ui.mouse, {
return {
helper: this.helper,
position: this.position,
originalPosition: this.originalPosition,
offset: this.positionAbs
};
}
@@ -1009,6 +1009,7 @@ $.widget("ui.sortable", $.extend({}, $.ui.mouse, {
helper: self.helper,
placeholder: self.placeholder || $([]),
position: self.position,
originalPosition: originalPosition,
offset: self.positionAbs,
item: self.currentItem,
sender: inst ? inst.element : null

0 comments on commit fd618d0

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