mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Filelist:-Deselecting all files checkboxes within cells of encrypted folder
Signed-off-by: kavita.sonawane@t-systems.com <kavita.sonawane@t-systems.com>
This commit is contained in:
parent
c610950ccd
commit
5f43439b26
1 changed files with 2 additions and 1 deletions
|
|
@ -993,6 +993,7 @@
|
|||
// Select only visible checkboxes to filter out unmatched file in search
|
||||
this.$fileList.find('td.selection > .selectCheckBox:visible').prop('checked', checked)
|
||||
.closest('tr').toggleClass('selected', checked);
|
||||
this.$fileList.find('tr[data-e2eencrypted="true"]').find('td.selection > .selectCheckBox:visible').prop('checked', false).closest('tr').toggleClass('selected', false);
|
||||
|
||||
if (checked) {
|
||||
for (var i = 0; i < this.files.length; i++) {
|
||||
|
|
@ -1001,7 +1002,7 @@
|
|||
var fileData = this.files[i];
|
||||
var fileRow = this.$fileList.find('tr[data-id=' + fileData.id + ']');
|
||||
// do not select already selected ones
|
||||
if (!fileRow.hasClass('hidden') && _.isUndefined(this._selectedFiles[fileData.id])) {
|
||||
if (!fileRow.hasClass('hidden') && _.isUndefined(this._selectedFiles[fileData.id]) && (!fileData.isEncrypted)) {
|
||||
this._selectedFiles[fileData.id] = fileData;
|
||||
this._selectionSummary.add(fileData);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue