diff options
author | Jan-Christoph Borchardt <JanCBorchardt@fsfe.org> | 2011-08-20 05:07:58 +0200 |
---|---|---|
committer | Jan-Christoph Borchardt <JanCBorchardt@fsfe.org> | 2011-08-20 05:07:58 +0200 |
commit | d9aae20003eb670b7bf86708016473969088066a (patch) | |
tree | e51450959802c1d32ecbcdeb0036efdc0842c2d1 /settings/js | |
parent | c2f0fe51c427374e918b72c28c521df27e614cae (diff) | |
download | nextcloud-server-d9aae20003eb670b7bf86708016473969088066a.tar.gz nextcloud-server-d9aae20003eb670b7bf86708016473969088066a.zip |
more valid HTML, alt attributes, refactored pagenavi etc.
Diffstat (limited to 'settings/js')
-rw-r--r-- | settings/js/users.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/settings/js/users.js b/settings/js/users.js index 3122f5614c7..0570263d300 100644 --- a/settings/js/users.js +++ b/settings/js/users.js @@ -131,7 +131,7 @@ $(document).ready(function(){ } ); - var tr=$('#content table tr').first().next().clone(); + var tr=$('#content table tbody tr').first().clone(); tr.attr('data-uid',username); tr.find('td.name').text(username); var select=$('<select multiple="multiple" data-placehoder="Groups" title="Groups">'); @@ -142,10 +142,10 @@ $(document).ready(function(){ select.append($('<option value="'+group+'">'+group+'</option>')); }); tr.find('td.groups').append(select); - if(tr.find('td.remve img').length==0){ + if(tr.find('td.remove img').length==0){ tr.find('td.remove').append($('<img alt="Delete" title="'+t('settings','Delete')+'" class="svg action" src="'+OC.imagePath('core','actions/delete')+'"/>')); } applyMultiplySelect(select); - $('#content table tr').last().after(tr); + $('#content table tbody').last().after(tr); }); }); |