#4288 closed enhancement (notabug)
"element" and "options" removed from $ui.droppable.ui() return
Reported by: | NJBR | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | ui.droppable | Version: | 1.7 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
It appears that "element" and "options" properties were removed from the returned object of $ui.droppable in version 1.6rc6 and now in 1.7. Returning this information to methods such as "drop","over", "out" ... seems beneficial. I propose that this and the "options" properties get added back in.
1.6rc5:
ui: function(c) {
return {
draggable: (c.currentItem c.element), helper: c.helper, position: c.position, absolutePosition: c.positionAbs, options: this.options, element: this.element
};
}
1.7
ui: function(c) {
return {
draggable: (c.currentItem c.element), helper: c.helper, position: c.position, absolutePosition: c.positionAbs, deprecated offset: c.positionAbs
};
}
Change History (3)
comment:1 Changed 13 years ago by
Milestone: | TBD → 1.7.1 |
---|---|
Resolution: | → invalid |
Status: | new → closed |
comment:2 Changed 13 years ago by
Milestone: | 1.7.1 → TBD |
---|
Note: See
TracTickets for help on using
tickets.
use. $(this) and $(this).droppable("option","optionname").