Skip to content

Commit

Permalink
fix: client side crash when creating groups
Browse files Browse the repository at this point in the history
  • Loading branch information
barisusakli committed Nov 3, 2020
1 parent d40779a commit 5a2b14b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/src/admin/manage/groups.js
Expand Up @@ -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 () {
Expand Down

0 comments on commit 5a2b14b

Please sign in to comment.