summaryrefslogtreecommitdiffstats
path: root/settings/js
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-04-13 17:12:06 +0200
committerMorris Jobke <hey@morrisjobke.de>2015-04-13 21:43:36 +0200
commit74732cc0d8ab8d5327f0bdc4da2817a02abee8a5 (patch)
tree2b3af402407834352823b5cf97a5b9eb5a026882 /settings/js
parent660aa7ff1e7bcb61d5dcb103014da39b8a257899 (diff)
downloadnextcloud-server-74732cc0d8ab8d5327f0bdc4da2817a02abee8a5.tar.gz
nextcloud-server-74732cc0d8ab8d5327f0bdc4da2817a02abee8a5.zip
Fix user list
* the name cell was changed from td to th because of accessibility issues - this adjusts the CSS and JS to behave like before
Diffstat (limited to 'settings/js')
-rw-r--r--settings/js/users/users.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/settings/js/users/users.js b/settings/js/users/users.js
index e67540fd117..4b46bbf898f 100644
--- a/settings/js/users/users.js
+++ b/settings/js/users/users.js
@@ -74,7 +74,7 @@ var UserList = {
$tr.data('displayname', user.displayname);
$tr.data('mailAddress', user.email);
$tr.data('restoreDisabled', user.isRestoreDisabled);
- $tr.find('td.name').text(user.name);
+ $tr.find('.name').text(user.name);
$tr.find('td.displayName > span').text(user.displayname);
$tr.find('td.mailAddress > span').text(user.email);
@@ -259,8 +259,8 @@ var UserList = {
rows.sort(function(a, b) {
// FIXME: inefficient way of getting the names,
// better use a data attribute
- a = $(a).find('td.name').text();
- b = $(b).find('td.name').text();
+ a = $(a).find('.name').text();
+ b = $(b).find('.name').text();
var firstSort = UserList.preSortSearchString(a, b);
if(typeof firstSort !== 'undefined') {
return firstSort;