diff --git a/settings/js/users.js b/settings/js/users.js
index 2c27c6d7666..9bc7455285a 100644
--- a/settings/js/users.js
+++ b/settings/js/users.js
@@ -27,7 +27,7 @@ var UserList = {
// Provide user with option to undo
$('#notification').data('deleteuser', true);
- OC.Notification.showHtml(t('users', 'deleted') + ' ' + uid + '' + t('users', 'undo') + '');
+ OC.Notification.showHtml(t('users', 'deleted') + ' ' + escapeHTML(uid) + '' + t('users', 'undo') + '');
},
/**
@@ -80,9 +80,9 @@ var UserList = {
}
var allGroups = String($('#content table').attr('data-groups')).split(', ');
$.each(allGroups, function (i, group) {
- groupsSelect.append($(''));
+ groupsSelect.append($(''));
if (typeof subadminSelect !== 'undefined' && group != 'admin') {
- subadminSelect.append($(''));
+ subadminSelect.append($(''));
}
});
tr.find('td.groups').append(groupsSelect);
@@ -111,7 +111,7 @@ var UserList = {
if (quotaSelect.find('option[value="' + quota + '"]').length > 0) {
quotaSelect.find('option[value="' + quota + '"]').attr('selected', 'selected');
} else {
- quotaSelect.append('');
+ quotaSelect.append('');
}
}
var added = false;
@@ -224,7 +224,7 @@ var UserList = {
var addSubAdmin = function (group) {
$('select[multiple]').each(function (index, element) {
if ($(element).find('option[value="' + group + '"]').length == 0) {
- $(element).append('');
+ $(element).append('');
}
})
};