draggable, sortable: include originalPosition in ui hash, implements #3782

This commit is contained in:
Paul Bakaus 2009-08-23 17:40:44 +00:00
parent d2e43a07c0
commit fd618d042f
2 changed files with 2 additions and 0 deletions

View File

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

View File

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