mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Prevents the selection of encrypted folder on scroll page
Signed-off-by: kavita.sonawane@t-systems.com <kavita.sonawane@t-systems.com>
This commit is contained in:
parent
7650732af7
commit
4cccb99e09
1 changed files with 2 additions and 1 deletions
|
|
@ -993,7 +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
|
||||
// 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) {
|
||||
|
|
@ -1288,6 +1288,7 @@
|
|||
_onScroll: function(e) {
|
||||
if (this.$container.scrollTop() + this.$container.height() > this.$el.height() - 300) {
|
||||
this._nextPage(true);
|
||||
this.$fileList.find('tr[data-e2eencrypted="true"]').find('td.selection > .selectCheckBox:visible').prop('checked', false).closest('tr').toggleClass('selected', false);
|
||||
}
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue