Add comments for prevents the selection of encrypted folders

Signed-off-by: kavita.sonawane@t-systems.com <kavita.sonawane@t-systems.com>
This commit is contained in:
kavita.sonawane@t-systems.com 2022-11-15 17:58:57 +05:30 committed by Vincent Petry
parent 5f43439b26
commit 29b672bbc4
No known key found for this signature in database
GPG key ID: E055D6A4D513575C

View file

@ -993,6 +993,7 @@
// Select only visible checkboxes to filter out unmatched file in search
this.$fileList.find('td.selection > .selectCheckBox:visible').prop('checked', checked)
.closest('tr').toggleClass('selected', checked);
//For prevents the selection of encrypted folders when clicking on the "Select all" checkbox
this.$fileList.find('tr[data-e2eencrypted="true"]').find('td.selection > .selectCheckBox:visible').prop('checked', false).closest('tr').toggleClass('selected', false);
if (checked) {