mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
draggable,droppable,sortable: deprecated ui.absolutePosition, changed to ui.offset (fixes #3978,#3977,#3976)
This commit is contained in:
parent
c88df4d3ee
commit
669bdb333a
@ -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
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user