Merge pull request #21599 from owncloud/ErikPel-master
[CI] Fixed issue #21452
This commit is contained in:
commit
471c77305f
|
@ -642,7 +642,13 @@
|
|||
};
|
||||
|
||||
OCA.Files.FileActions.updateFileActionSpinner(downloadFileaction, true);
|
||||
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 New Issue