some js improvements for subadmins

This commit is contained in:
Georg Ehrke 2012-07-21 13:10:51 +02:00
parent fdb167a046
commit 88f66460a3

View file

@ -94,6 +94,9 @@ $(document).ready(function(){
if(user==OC.currentUser && group=='admin'){
return false;
}
if(!isadmin && checked.length == 1 && checked[0] == group){
return false;
}
$.post(
OC.filePath('settings','ajax','togglegroups.php'),
{