Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'settings/js/users.js')
-rw-r--r--settings/js/users.js6
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);
});
});