diff options
author | kavita.sonawane@t-systems.com <kavita.sonawane@t-systems.com> | 2022-11-18 14:46:50 +0530 |
---|---|---|
committer | kavita.sonawane@t-systems.com <kavita.sonawane@t-systems.com> | 2022-11-22 15:56:10 +0530 |
commit | acdd34ecaf1f99627005af08bae3cbbb65394be6 (patch) | |
tree | 5600bf43acab6a3cd64a7e1ecfd7b1eff3de85c7 /apps/files/js | |
parent | 44c1049e0ce7bdc4532886a2e5fd89101baf49d3 (diff) | |
download | nextcloud-server-acdd34ecaf1f99627005af08bae3cbbb65394be6.tar.gz nextcloud-server-acdd34ecaf1f99627005af08bae3cbbb65394be6.zip |
Prevents the selection of encrypted folder on next page load
Signed-off-by: kavita.sonawane@t-systems.com <kavita.sonawane@t-systems.com>
Diffstat (limited to 'apps/files/js')
-rw-r--r-- | apps/files/js/filelist.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index 38d096acccc..201edde48bd 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -1271,7 +1271,6 @@ _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); } }, @@ -1422,6 +1421,7 @@ hidden = false; } tr = this._renderRow(fileData, {updateSummary: false, silent: true, hidden: hidden}); + this.$fileList.find('tr[data-e2eencrypted="true"]').find('td.selection > .selectCheckBox:visible').prop('checked', false).closest('tr').toggleClass('selected', false); this.$fileList.append(tr); if (isAllSelected || this._selectedFiles[fileData.id]) { tr.addClass('selected'); |