mirror of
https://github.com/symbiote/silverstripe-gridfieldextensions.git
synced 2024-10-22 17:05:39 +02:00
FIX: Don't try to remove sortable if it doesn't exist in the first place
This commit is contained in:
parent
ad55ceda83
commit
fe63b4a187
@ -205,7 +205,8 @@
|
||||
});
|
||||
},
|
||||
onremove: function() {
|
||||
this.sortable("destroy");
|
||||
if(this.data('sortable'))
|
||||
this.sortable("destroy");
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user