Opened 9 years ago

Closed 9 years ago

#7049 closed bug (notabug)

Update to jquery.ui.droppable

Reported by: brianmfalls Owned by:
Priority: minor Milestone: 1.9.0
Component: ui.droppable Version: 1.8.9
Keywords: Cc:
Blocked by: Blocking:

Description

I needed an option to retain the ui-draggable class on the draggable element post to being dropped in its associate droppable area. I added an option (retainClass: false,) to the default option list, then added this condition (if (this.options.retainClass == false){}) around the destroy: function() {}.

http://jsbin.com/ofatu4

Change History (1)

comment:1 Changed 9 years ago by Scott González

Component: ui.coreui.droppable
Resolution: invalid
Status: newclosed

There's no use-case provided. Also, you can do this on your own, there is no reason for a widget to leave classes around after the widget is destroyed.

Note: See TracTickets for help on using tickets.