summaryrefslogtreecommitdiffhomepage
path: root/html
diff options
context:
space:
mode:
authorRoland Stigge <stigge@antcom.de>2018-01-07 13:15:39 +0100
committerRoland Stigge <stigge@antcom.de>2018-01-07 13:15:39 +0100
commit3bccf120e0a6653804a1678f383e973ceffb9955 (patch)
treeeb138355aadd373f132a020844be81ea4b10d52b /html
parent329d00741ca0fee084d0f7c5b43ef3fab6df0570 (diff)
Fix ZIP download
Diffstat (limited to 'html')
-rw-r--r--html/webbox.js1
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 {