mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 08:36:12 +01:00
fix: client side crash when creating groups
This commit is contained in:
@@ -37,7 +37,7 @@ define('admin/manage/groups', [
|
||||
hidden: $('#create-group-hidden').is(':checked') ? 1 : 0,
|
||||
};
|
||||
|
||||
api.post('/groups', submitObj, (response) => {
|
||||
api.post('/groups', submitObj).then((response) => {
|
||||
createModalError.addClass('hide');
|
||||
createGroupName.val('');
|
||||
createModal.on('hidden.bs.modal', function () {
|
||||
|
||||
Reference in New Issue
Block a user