r3119 committed - draggable, sortable: include originalPosition in ui hash, implements #...

r3119 committed - draggable, sortable: include originalPosition in ui hash, implements #...


Revision: 3119
Author: paul.bakaus
Date: Sun Aug 23 10:40:44 2009
Log: draggable, sortable: include originalPosition in ui hash, implements
#3782
http://code.google.com/p/jquery-ui/source/detail?r=3119
Modified:
/trunk/ui/ui.draggable.js
/trunk/ui/ui.sortable.js
=======================================
--- /trunk/ui/ui.draggable.js    Sat Aug 22 01:10:19 2009
+++ /trunk/ui/ui.draggable.js    Sun Aug 23 10:40:44 2009
@@ -412,6 +412,7 @@
        return {
            helper: this.helper,
            position: this.position,
+            originalPosition: this.originalPosition,
            offset: this.positionAbs
        };
    }
=======================================
--- /trunk/ui/ui.sortable.js    Sat Aug 22 06:58:36 2009
+++ /trunk/ui/ui.sortable.js    Sun Aug 23 10:40:44 2009
@@ -1009,6 +1009,7 @@
            helper: self.helper,
            placeholder: self.placeholder || $([]),
            position: self.position,
+            originalPosition: originalPosition,
            offset: self.positionAbs,
            item: self.currentItem,
            sender: inst ? inst.element : null