FIX: Don't try to remove sortable if it doesn't exist in the first place

This commit is contained in:
Mellisa Hankins 2015-03-04 10:40:53 +11:00
parent ad55ceda83
commit fe63b4a187

View File

@ -205,7 +205,8 @@
});
},
onremove: function() {
this.sortable("destroy");
if(this.data('sortable'))
this.sortable("destroy");
}
});