summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Mueller <thomas.mueller@tmit.eu>2013-02-14 12:59:59 +0100
committerThomas Mueller <thomas.mueller@tmit.eu>2013-02-14 12:59:59 +0100
commit022993c09865b90993c869053a3217e2700a6f22 (patch)
tree14e05b389c80e684bc829ecb67134d1f4d05dc40
parente643742eb3428c6a0cf6322f09152f22d00e0502 (diff)
downloadnextcloud-server-022993c09865b90993c869053a3217e2700a6f22.tar.gz
nextcloud-server-022993c09865b90993c869053a3217e2700a6f22.zip
fixing javascript errors IE8 in user management
-rw-r--r--settings/js/users.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/settings/js/users.js b/settings/js/users.js
index a70cf18ead3..da18b4be836 100644
--- a/settings/js/users.js
+++ b/settings/js/users.js
@@ -92,11 +92,12 @@ var UserList = {
UserList.applyMultiplySelect(subadminSelect);
}
if (tr.find('td.remove img').length == 0 && OC.currentUser != username) {
- var rm_img = $('<img>', {
- class: 'svg action',
+ var rm_img = $('<img class="svg action">').attr({
src: OC.imagePath('core', 'actions/delete')
});
- var rm_link = $('<a>', { class: 'action delete', href: '#', 'original-title': t('settings', 'Delete')}).append(rm_img);
+ var rm_link = $('<a class="action delete">')
+ .attr({ href: '#', 'original-title': t('settings', 'Delete')})
+ .append(rm_img);
tr.find('td.remove').append(rm_link);
} else if (OC.currentUser == username) {
tr.find('td.remove a').remove();