From 23f968400cdabc0e4c2ba5bc268d9b32ecca0036 Mon Sep 17 00:00:00 2001 From: "kavita.sonawane@t-systems.com" Date: Tue, 15 Nov 2022 17:58:57 +0530 Subject: [PATCH] Add comments for prevents the selection of encrypted folders Signed-off-by: kavita.sonawane@t-systems.com --- apps/files/js/filelist.js | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index 46b63140b27..75d7603022b 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -976,6 +976,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) { -- 2.39.5