mirror of
https://github.com/nextcloud/server.git
synced 2026-02-20 00:12:30 -05:00
Merge pull request #35521 from nextmcloud/nmcpr/1416-prevents-selection-of-encrypted-folders
[BUGFIX] Prevents the selection of encrypted files at the bottom of the list(before scrolling)
This commit is contained in:
commit
decf2b4524
1 changed files with 4 additions and 4 deletions
|
|
@ -1421,15 +1421,15 @@
|
|||
hidden = false;
|
||||
}
|
||||
tr = this._renderRow(fileData, {updateSummary: false, silent: true, hidden: hidden});
|
||||
if (tr.attr('data-e2eencrypted') === 'true') {
|
||||
tr.toggleClass('selected', false);
|
||||
tr.find('td.selection > .selectCheckBox:visible').prop('checked', false);
|
||||
}
|
||||
this.$fileList.append(tr);
|
||||
if (isAllSelected || this._selectedFiles[fileData.id]) {
|
||||
tr.addClass('selected');
|
||||
tr.find('.selectCheckBox').prop('checked', true);
|
||||
}
|
||||
if (tr.attr('data-e2eencrypted') === 'true') {
|
||||
tr.toggleClass('selected', false);
|
||||
tr.find('td.selection > .selectCheckBox:visible').prop('checked', false);
|
||||
}
|
||||
if (animate) {
|
||||
tr.addClass('appear transparent');
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue