diff options
Diffstat (limited to 'core/js/sharedialogshareelistview.js')
-rw-r--r-- | core/js/sharedialogshareelistview.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/sharedialogshareelistview.js b/core/js/sharedialogshareelistview.js index 088adaff318..b9683c5f3b3 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; } } |