fix change permission on mail shares of folders
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
parent
db6359d1e4
commit
9c249427d1
1 changed files with 3 additions and 4 deletions
|
@ -372,10 +372,9 @@
|
|||
checked = numberChecked > 0;
|
||||
$('input[name="edit"]', $li).prop('checked', checked);
|
||||
}
|
||||
} else {
|
||||
if ($element.attr('name') === 'edit' && $element.is(':checked')) {
|
||||
permissions |= OC.PERMISSION_UPDATE;
|
||||
}
|
||||
}
|
||||
if ($element.attr('name') === 'edit' && $element.is(':checked')) {
|
||||
permissions |= OC.PERMISSION_UPDATE;
|
||||
}
|
||||
|
||||
$('.permissions', $li).not('input[name="edit"]').filter(':checked').each(function(index, checkbox) {
|
||||
|
|
Loading…
Reference in a new issue