mirror of
https://github.com/Doctorado-ML/benchmark.git
synced 2025-08-18 00:45:54 +00:00
Add automatic download excel files
This commit is contained in:
@@ -12,7 +12,11 @@ function excelFiles(selectedFiles, compare) {
|
||||
dataType: 'json',
|
||||
success: function(data){
|
||||
if (data.success) {
|
||||
alert("Se ha generado el archivo "+data.file);
|
||||
if (data.output == "local") {
|
||||
alert("Se ha generado el archivo " + data.file);
|
||||
} else {
|
||||
window.open('/download/' + data.file, "_blank");
|
||||
}
|
||||
} else {
|
||||
alert(data.file);
|
||||
}
|
||||
|
Reference in New Issue
Block a user