fix: client side crash when creating groups

v1.18.x
Barış Soner Uşaklı 4 years ago
parent d40779a4ba
commit 5a2b14b751

@ -37,7 +37,7 @@ define('admin/manage/groups', [
hidden: $('#create-group-hidden').is(':checked') ? 1 : 0, hidden: $('#create-group-hidden').is(':checked') ? 1 : 0,
}; };
api.post('/groups', submitObj, (response) => { api.post('/groups', submitObj).then((response) => {
createModalError.addClass('hide'); createModalError.addClass('hide');
createGroupName.val(''); createGroupName.val('');
createModal.on('hidden.bs.modal', function () { createModal.on('hidden.bs.modal', function () {

Loading…
Cancel
Save