v1.18.x
pichalite 9 years ago
parent 9f760f9b55
commit 872b33f0cc

@ -17,8 +17,7 @@ define('forum/groups/list', ['forum/infinitescroll', 'translator'], function(inf
// Group creation
$('button[data-action="new"]').on('click', function() {
translator.translate('[[groups:new-group.group_name]]', function(translated) {
bootbox.prompt(translated, function(name) {
bootbox.prompt('[[groups:new-group.group_name]]', function(name) {
if (name && name.length) {
socket.emit('groups.create', {
name: name
@ -32,7 +31,6 @@ define('forum/groups/list', ['forum/infinitescroll', 'translator'], function(inf
}
});
});
});
var params = utils.params();
$('#search-sort').val(params.sort || 'alpha');

Loading…
Cancel
Save