Browse Source

Fixed issue #21452

removed whitespace

removed whitespace

Changed it based on PVince81's suggestion
tags/v9.0beta1
Erik Pellikka 8 years ago
parent
commit
ace66057f2
1 changed files with 7 additions and 1 deletions
  1. 7
    1
      apps/files/js/filelist.js

+ 7
- 1
apps/files/js/filelist.js View File

@@ -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…
Cancel
Save