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,6 +205,7 @@
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
onremove: function() {
|
onremove: function() {
|
||||||
|
if(this.data('sortable'))
|
||||||
this.sortable("destroy");
|
this.sortable("destroy");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user