Skip to main content

Search and Top Navigation

#7049 closed bug (notabug)

Opened February 28, 2011 10:33PM UTC

Closed March 01, 2011 01:36PM UTC

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:

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() {}.

Attachments (0)
Change History (1)

Changed March 01, 2011 01:36PM UTC by scottgonzalez comment:1

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.