diff options
-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'); } |