Merge pull request #19797 from nextcloud/backport/stable16/19768
[stable16] Keep edit permission when toggling share checkbox
This commit is contained in:
commit
85dfb36cb1
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -720,7 +720,7 @@
|
|||
$editCb.prop('indeterminate', !checked && numberChecked > 0);
|
||||
}
|
||||
} else {
|
||||
if ($element.attr('name') === 'edit' && $element.is(':checked')) {
|
||||
if ($('input[name="edit"]', $li).is(':checked')) {
|
||||
permissions |= OC.PERMISSION_UPDATE;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue