From 3bccf120e0a6653804a1678f383e973ceffb9955 Mon Sep 17 00:00:00 2001 From: Roland Stigge Date: Sun, 7 Jan 2018 13:15:39 +0100 Subject: Fix ZIP download --- html/webbox.js | 1 + 1 file changed, 1 insertion(+) (limited to 'html') 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 { -- cgit v1.2.3