mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-07-11 21:31:52 +02:00
fix redirection when saving groups
This commit is contained in:
@@ -122,7 +122,7 @@ define('forum/groups/details', ['iconSelect', 'vendor/colorpicker/colorpicker',
|
||||
if (settings.name) {
|
||||
var pathname = window.location.pathname;
|
||||
pathname = pathname.substr(1, pathname.lastIndexOf('/'));
|
||||
ajaxify.go(pathname + encodeURIComponent(settings.name));
|
||||
ajaxify.go(pathname + utils.slugify(settings.name));
|
||||
} else {
|
||||
ajaxify.refresh();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user