]> source.dussan.org Git - jquery-ui.git/commitdiff
draggable,droppable,sortable: deprecated ui.absolutePosition, changed to ui.offset...
authorPaul Bakaus <paul.bakaus@googlemail.com>
Thu, 29 Jan 2009 12:35:38 +0000 (12:35 +0000)
committerPaul Bakaus <paul.bakaus@googlemail.com>
Thu, 29 Jan 2009 12:35:38 +0000 (12:35 +0000)
ui/ui.draggable.js
ui/ui.droppable.js
ui/ui.sortable.js

index b8bfaa0c7474296c674ce546f90b5ceff243cb60..95d5ea0bd743cc350c43a593e2fbca59541cac44 100644 (file)
@@ -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
                };
        }
 
index d0a2f81c52e64e971a531e067206180c2ef03e90..600f3d7a3a03191209d26f815d717a4d4624300e 100644 (file)
@@ -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
                };
        }
 
index cd41d1de9196fd29800734db2f4ed6600b072511..0ff3107b4b015d88433bdccaec952845657527a2 100644 (file)
@@ -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
                };