Opened 8 years ago

Last modified 4 years ago

#5781 open bug

Sortable: refresh() does not discard previous data bind

Reported by: badsyntax Owned by:
Priority: minor Milestone: 2.0.0
Component: ui.sortable Version: 1.8.2
Keywords: Cc:
Blocked by: Blocking:

Description

Reference: http://forum.jquery.com/topic/understanding-the-behavour-of-sortable-refresh

When you fire off the refresh() function, it does not remove the data that was added to the original sortable items.

Please see http://jsbin.com/opilo/2

Change History (5)

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

Type: enhancementfeature

comment:2 Changed 6 years ago by Scott González

Milestone: TBD2.0.0

comment:3 Changed 6 years ago by Jörn Zaefferer

Type: featurebug

Not cleaning up data added to elements is a bug, not a feature. Need to verify if that still happens.

comment:4 Changed 6 years ago by mikesherov

Status: newopen

confirmed on latest: http://jsfiddle.net/mmuWk/

comment:5 Changed 4 years ago by Scott González

#11339 is a duplicate of this ticket.

Note: See TracTickets for help on using tickets.