Opened 11 years ago

Closed 11 years ago

Last modified 7 years ago

#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 11 years ago by Cloudream

Milestone: TBD1.7.1
Resolution: invalid
Status: newclosed

use. $(this) and $(this).droppable("option","optionname").

comment:2 Changed 11 years ago by rdworth

Milestone: 1.7.1TBD

comment:3 Changed 7 years ago by Scott González

Milestone: TBD

Milestone TBD deleted

Note: See TracTickets for help on using tickets.