fix change permission on mail shares of folders

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
Arthur Schiwon 2016-12-06 13:44:27 +01:00
parent db6359d1e4
commit 9c249427d1
No known key found for this signature in database
GPG key ID: 7424F1874854DF23

View file

@ -372,10 +372,9 @@
checked = numberChecked > 0;
$('input[name="edit"]', $li).prop('checked', checked);
}
} else {
if ($element.attr('name') === 'edit' && $element.is(':checked')) {
permissions |= OC.PERMISSION_UPDATE;
}
}
if ($element.attr('name') === 'edit' && $element.is(':checked')) {
permissions |= OC.PERMISSION_UPDATE;
}
$('.permissions', $li).not('input[name="edit"]').filter(':checked').each(function(index, checkbox) {