Skip to content

Commit 15c2308

Browse files
committed
Patch sortable to fix reinitialization errors (and memory leaks)
Refs johnny/jquery-sortable#122
1 parent c7aef3c commit 15c2308

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

modules/system/assets/ui/vendor/sortable/jquery-sortable.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -631,6 +631,10 @@
631631
return val != that
632632
})
633633

634+
// See https://github.com/johnny/jquery-sortable/pull/122
635+
if(this.group)
636+
this.group._destroy()
637+
634638
$.each(this.items || [], function(){
635639
$.removeData(this, subContainerKey)
636640
})

0 commit comments

Comments
 (0)