diff --git a/package/src/ui/views/SortableCollectionView.js b/package/src/ui/views/SortableCollectionView.js index 2c31b0ec2..ed6a5f4fc 100644 --- a/package/src/ui/views/SortableCollectionView.js +++ b/package/src/ui/views/SortableCollectionView.js @@ -46,6 +46,11 @@ export const SortableCollectionView = CollectionView.extend({ return this; }, + onClose() { + CollectionView.prototype.onClose.call(this); + this.sortable.destroy(); + }, + disableSorting() { this.sortable.option('disabled', true); },