some js improvements for subadmins
This commit is contained in:
parent
fdb167a046
commit
88f66460a3
1 changed files with 3 additions and 0 deletions
|
@ -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'),
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue