|
|
@ -70,7 +70,6 @@ define('settings/sorted-list', [
|
|
|
|
function setupRemoveButton($container, itemUUID) {
|
|
|
|
function setupRemoveButton($container, itemUUID) {
|
|
|
|
var removeBtn = $container.find('[data-sorted-list-uuid="' + itemUUID + '"] [data-type="remove"]');
|
|
|
|
var removeBtn = $container.find('[data-sorted-list-uuid="' + itemUUID + '"] [data-type="remove"]');
|
|
|
|
removeBtn.on('click', function () {
|
|
|
|
removeBtn.on('click', function () {
|
|
|
|
console.log(itemUUID);
|
|
|
|
|
|
|
|
$('[data-sorted-list-uuid="' + itemUUID + '"]').remove();
|
|
|
|
$('[data-sorted-list-uuid="' + itemUUID + '"]').remove();
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|