Skip to content
Snippets Groups Projects
Commit 022993c0 authored by Thomas Müller's avatar Thomas Müller
Browse files

fixing javascript errors IE8 in user management

parent e643742e
Branches
No related tags found
No related merge requests found
...@@ -92,11 +92,12 @@ var UserList = { ...@@ -92,11 +92,12 @@ var UserList = {
UserList.applyMultiplySelect(subadminSelect); UserList.applyMultiplySelect(subadminSelect);
} }
if (tr.find('td.remove img').length == 0 && OC.currentUser != username) { if (tr.find('td.remove img').length == 0 && OC.currentUser != username) {
var rm_img = $('<img>', { var rm_img = $('<img class="svg action">').attr({
class: 'svg action',
src: OC.imagePath('core', 'actions/delete') 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); tr.find('td.remove').append(rm_link);
} else if (OC.currentUser == username) { } else if (OC.currentUser == username) {
tr.find('td.remove a').remove(); tr.find('td.remove a').remove();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment