diff options
author | Simon L <szaimen@e.mail.de> | 2022-12-06 10:30:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-06 10:30:10 +0100 |
commit | decf2b4524db76597c1375ddbd9a4d5d8f2e445b (patch) | |
tree | 030500f37e4c8156afaf02ebecfc349bae2130bd /apps/files/js | |
parent | 7730309aee48ab0d6c4591de93b4db50c147fde8 (diff) | |
parent | 4d0b80d35e871f7b2c19652bf3b23b08f6f53184 (diff) | |
download | nextcloud-server-decf2b4524db76597c1375ddbd9a4d5d8f2e445b.tar.gz nextcloud-server-decf2b4524db76597c1375ddbd9a4d5d8f2e445b.zip |
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)
Diffstat (limited to 'apps/files/js')
-rw-r--r-- | apps/files/js/filelist.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index 96273b325cb..1eed1902b29 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -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'); } |