summaryrefslogtreecommitdiffhomepage
path: root/html/webbox.js
diff options
context:
space:
mode:
authorRoland Reichwein <rr@reichwein.it>2018-02-28 09:35:07 +0100
committerRoland Reichwein <rr@reichwein.it>2018-02-28 09:35:07 +0100
commitbc9181917182e27324ff0437cf0d10abd91fa581 (patch)
tree4c3141f0ab45235fc7bc2492f5090a96b3f11dfe /html/webbox.js
parent1fb8bf91a6a796c307e31338cc9b850c41d6dd6d (diff)
Compatibility for different build OSes
Diffstat (limited to 'html/webbox.js')
-rw-r--r--html/webbox.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/html/webbox.js b/html/webbox.js
index 09a3979..55df1f5 100644
--- a/html/webbox.js
+++ b/html/webbox.js
@@ -57,7 +57,7 @@ function loadContents(dir) {
}
- xhr.open("GET", "bin/query" + currentDir + "?command=list", true);
+ xhr.open("GET", "bin/query" + dir + "?command=list", true);
xhr.setRequestHeader("Authorization", "Basic " + btoa(username + ":" + password));
xhr.send();
}