fix typo in group cover upload

v1.18.x
Barış Soner Uşaklı 9 years ago
parent d876763846
commit 263b09f11a

@ -33,7 +33,7 @@ define('forum/groups/details', [
uploader.show({ uploader.show({
title: '[[groups:upload-group-cover]]', title: '[[groups:upload-group-cover]]',
route: config.relative_path + '/api/groups/uploadpicture', route: config.relative_path + '/api/groups/uploadpicture',
params: {groupname: groupName} params: {groupName: groupName}
}, function(imageUrlOnServer) { }, function(imageUrlOnServer) {
components.get('groups/cover').css('background-image', 'url(' + imageUrlOnServer + ')'); components.get('groups/cover').css('background-image', 'url(' + imageUrlOnServer + ')');
}); });

Loading…
Cancel
Save