1
0
miroir de https://github.com/nextcloud/server.git synchronisé 2024-08-27 05:55:24 +02:00
removed whitespace

removed whitespace

Changed it based on PVince81's suggestion
Cette révision appartient à :
Erik Pellikka 2016-01-10 18:56:18 +02:00 révisé par Morris Jobke
Parent cc4e4ecf0f
révision ace66057f2

Voir le fichier

@ -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;
},