Skip to content

Commit a448205

Browse files
Prevents the selection of encrypted folder on next page load
Signed-off-by: kavita.sonawane@t-systems.com <kavita.sonawane@t-systems.com>
1 parent 1b2441b commit a448205

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/files/js/filelist.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1271,7 +1271,6 @@
12711271
_onScroll: function(e) {
12721272
if (this.$container.scrollTop() + this.$container.height() > this.$el.height() - 300) {
12731273
this._nextPage(true);
1274-
this.$fileList.find('tr[data-e2eencrypted="true"]').find('td.selection > .selectCheckBox:visible').prop('checked', false).closest('tr').toggleClass('selected', false);
12751274
}
12761275
},
12771276

@@ -1422,6 +1421,7 @@
14221421
hidden = false;
14231422
}
14241423
tr = this._renderRow(fileData, {updateSummary: false, silent: true, hidden: hidden});
1424+
this.$fileList.find('tr[data-e2eencrypted="true"]').find('td.selection > .selectCheckBox:visible').prop('checked', false).closest('tr').toggleClass('selected', false);
14251425
this.$fileList.append(tr);
14261426
if (isAllSelected || this._selectedFiles[fileData.id]) {
14271427
tr.addClass('selected');

0 commit comments

Comments
 (0)