]> source.dussan.org Git - nextcloud-server.git/commitdiff
Add comments for prevents the selection of encrypted folders
authorkavita.sonawane@t-systems.com <kavita.sonawane@t-systems.com>
Tue, 15 Nov 2022 12:28:57 +0000 (17:58 +0530)
committerVincent Petry <vincent@nextcloud.com>
Wed, 23 Nov 2022 09:29:10 +0000 (10:29 +0100)
Signed-off-by: kavita.sonawane@t-systems.com <kavita.sonawane@t-systems.com>
apps/files/js/filelist.js

index b74e5f5bd5b16249576d61aadf4f43cbe3d873e5..de26f9c782b0f7a51dc4a54622fe4f621f6f5f5b 100644 (file)
                        // 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) {