Skip to content
Snippets Groups Projects
Commit 263bef3b authored by Steinwender, Tamara's avatar Steinwender, Tamara
Browse files

Remove a select Row bug in nextcloud filepicker

parent 227f59c6
No related branches found
No related tags found
No related merge requests found
Pipeline #57430 passed
......@@ -57,7 +57,7 @@ export class FileSource extends ScopedElementsMixin(DbpFileHandlingLitElement) {
this.firstOpen = true;
this.nextcloudAuthInfo = '';
this.maxFileSize = '';
this.multipleFiles = true;
this.multipleFiles = Number.MAX_VALUE;
this.initialFileHandlingState = {target: '', path: ''};
}
......
......@@ -35,7 +35,7 @@ export class NextcloudFilePicker extends ScopedElementsMixin(DBPLitElement) {
this.tabulatorTable = null;
this.allowedMimeTypes = '';
this.directoriesOnly = false;
this.maxSelectedItems = true;
this.maxSelectedItems = Number.MAX_VALUE;
this.loading = false;
this._onReceiveWindowMessage = this.onReceiveWindowMessage.bind(this);
......@@ -276,7 +276,6 @@ export class NextcloudFilePicker extends ScopedElementsMixin(DBPLitElement) {
},
rowClick: (e, row) => {
const data = row.getData();
if (!row.getElement().classList.contains("no-select")) {
if (this.directoriesOnly) {
// comment out if you want to navigate through folders with double click
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment