aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/js
diff options
context:
space:
mode:
authorkavita.sonawane@t-systems.com <kavita.sonawane@t-systems.com>2022-11-18 14:46:50 +0530
committerkavita.sonawane@t-systems.com <kavita.sonawane@t-systems.com>2022-11-22 15:56:10 +0530
commitacdd34ecaf1f99627005af08bae3cbbb65394be6 (patch)
tree5600bf43acab6a3cd64a7e1ecfd7b1eff3de85c7 /apps/files/js
parent44c1049e0ce7bdc4532886a2e5fd89101baf49d3 (diff)
downloadnextcloud-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.js2
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');