mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
fix: #7231, missing success alert on group name change in ACP
This commit is contained in:
@@ -102,11 +102,11 @@ define('admin/manage/group', [
|
||||
var newName = $('#change-group-name').val();
|
||||
|
||||
// If the group name changed, change url
|
||||
if (groupName === newName) {
|
||||
app.alertSuccess('[[admin/manage/groups:edit.save-success]]');
|
||||
} else {
|
||||
if (groupName !== newName) {
|
||||
ajaxify.go('admin/manage/groups/' + encodeURIComponent(newName), undefined, true);
|
||||
}
|
||||
|
||||
app.alertSuccess('[[admin/manage/groups:edit.save-success]]');
|
||||
});
|
||||
return false;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user