Skip to main content

Search and Top Navigation

#4288 closed enhancement (notabug)

Opened March 06, 2009 06:36PM UTC

Closed March 07, 2009 05:34AM UTC

Last modified October 11, 2012 09:15PM UTC

"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

};

}

Attachments (0)
Change History (3)

Changed March 07, 2009 05:34AM UTC by Cloudream comment:1

milestone: TBD1.7.1
resolution: → invalid
status: newclosed

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

Changed March 09, 2009 12:42PM UTC by rdworth comment:2

milestone: 1.7.1TBD

Changed October 11, 2012 09:15PM UTC by scottgonzalez comment:3

milestone: TBD

Milestone TBD deleted