org settings: Add user group creation functionality.

This commit is contained in:
Cynthia Lin
2017-11-16 21:15:19 -08:00
committed by showell
parent 8c8cd5fbf1
commit 168e7bb2d6
3 changed files with 47 additions and 1 deletions

View File

@@ -359,6 +359,13 @@ exports.dispatch_normal_event = function dispatch_normal_event(event) {
ui.remove_message(msg_id);
break;
case 'user_group':
if (event.op === 'add') {
user_groups.add(event.group);
settings_user_groups.reload();
}
break;
}
};