Keep edit permission when updating resharing permission for file shares
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
11e8ffce88
commit
689c122c65
1 changed files with 1 additions and 1 deletions
|
@ -720,7 +720,7 @@
|
||||||
$editCb.prop('indeterminate', !checked && numberChecked > 0);
|
$editCb.prop('indeterminate', !checked && numberChecked > 0);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if ($element.attr('name') === 'edit' && $element.is(':checked')) {
|
if ($('input[name="edit"]', $li).is(':checked')) {
|
||||||
permissions |= OC.PERMISSION_UPDATE;
|
permissions |= OC.PERMISSION_UPDATE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue