summaryrefslogtreecommitdiffhomepage
path: root/html/webbox.js
diff options
context:
space:
mode:
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();
}