mirror of
https://github.com/nextcloud/server.git
synced 2026-04-22 23:03:00 -04:00
Fixed issue #21452
removed whitespace removed whitespace Changed it based on PVince81's suggestion
This commit is contained in:
parent
cc4e4ecf0f
commit
ace66057f2
1 changed files with 7 additions and 1 deletions
|
|
@ -642,7 +642,13 @@
|
|||
};
|
||||
|
||||
OCA.Files.FileActions.updateFileActionSpinner(downloadFileaction, true);
|
||||
OCA.Files.Files.handleDownload(this.getDownloadUrl(files, dir, true), disableLoadingState);
|
||||
if(this.getSelectedFiles().length > 1) {
|
||||
OCA.Files.Files.handleDownload(this.getDownloadUrl(files, dir, true), disableLoadingState);
|
||||
}
|
||||
else {
|
||||
first = this.getSelectedFiles()[0];
|
||||
OCA.Files.Files.handleDownload(this.getDownloadUrl(first.name, dir, true), disableLoadingState);
|
||||
}
|
||||
return false;
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue