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
e76116b03b
commit
c941baf6b3
|
@ -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 New Issue