diff --git a/core/js/sharedialogshareelistview.js b/core/js/sharedialogshareelistview.js index 088adaff31..b9683c5f3b 100644 --- a/core/js/sharedialogshareelistview.js +++ b/core/js/sharedialogshareelistview.js @@ -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; } }