diff options
author | Roland Stigge <stigge@antcom.de> | 2018-01-07 13:15:39 +0100 |
---|---|---|
committer | Roland Stigge <stigge@antcom.de> | 2018-01-07 13:15:39 +0100 |
commit | 3bccf120e0a6653804a1678f383e973ceffb9955 (patch) | |
tree | eb138355aadd373f132a020844be81ea4b10d52b /html | |
parent | 329d00741ca0fee084d0f7c5b43ef3fab6df0570 (diff) |
Fix ZIP download
Diffstat (limited to 'html')
-rw-r--r-- | html/webbox.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/html/webbox.js b/html/webbox.js index 2b70292..faa2bb2 100644 --- a/html/webbox.js +++ b/html/webbox.js @@ -299,6 +299,7 @@ function download(filename) { xhr.open("POST", "/bin/query" + currentDir + "?command=download-zip", true); xhr.setRequestHeader("Content-type", "text/xml"); + xhr.responseType = 'blob'; xhr.send(xmlDocument); } } else { |