mirror of
https://github.com/beestat/app.git
synced 2025-07-09 03:04:07 -04:00
Fixed #363 - Downloading data just returns a file with a json null data response
This commit is contained in:
parent
f84665ddd6
commit
7464630fb5
@ -274,7 +274,7 @@ beestat.component.modal.download_data.prototype.get_buttons_ = function() {
|
||||
.format()
|
||||
};
|
||||
|
||||
window.location.href = '/api/?resource=runtime&method=download&arguments=' + JSON.stringify(download_arguments) + '&api_key=' + beestat.api.api_key;
|
||||
window.location.href = '/api/?resource=runtime&method=download&arguments=' + encodeURIComponent(JSON.stringify(download_arguments)) + '&api_key=' + beestat.api.api_key;
|
||||
|
||||
self.dispose();
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user