Patch sortable to fix reinitialization errors (and memory leaks)
Refs https://github.com/johnny/jquery-sortable/pull/122
This commit is contained in:
parent
c7aef3c58c
commit
15c23089c6
|
|
@ -631,6 +631,10 @@
|
|||
return val != that
|
||||
})
|
||||
|
||||
// See https://github.com/johnny/jquery-sortable/pull/122
|
||||
if(this.group)
|
||||
this.group._destroy()
|
||||
|
||||
$.each(this.items || [], function(){
|
||||
$.removeData(this, subContainerKey)
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in New Issue