feat: add new hook that fires when sorted-set list modal is shown

isekai-main
Barış Soner Uşaklı 3 years ago
parent 265a013938
commit 8faa6f2382

@ -44,6 +44,7 @@ define('settings/sorted-list', [
SortedList.addItem(modal.find('form').children(), $container);
}
});
hooks.fire('action:settings.sorted-list.modal', { modal });
});
const call = $container.parents('form').attr('data-socket-get');
@ -132,6 +133,7 @@ define('settings/sorted-list', [
parse($container, itemUUID, data, oldItem);
}
});
hooks.fire('action:settings.sorted-list.modal', { modal });
});
}

Loading…
Cancel
Save