summaryrefslogtreecommitdiffhomepage
path: root/html
diff options
context:
space:
mode:
authorRoland Stigge <stigge@antcom.de>2018-02-26 21:34:25 +0100
committerRoland Stigge <stigge@antcom.de>2018-02-26 21:34:25 +0100
commit57c1a0adda4401bd307ce90e26ddcf65fb502149 (patch)
treec5ffe98bd3c74eb65977e6ff1557ec58af210cb7 /html
parent307ddb90a71b50fc4ba6e31b4d050d01f83e30a3 (diff)
Javascript fixes
Diffstat (limited to 'html')
-rw-r--r--html/webbox.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/html/webbox.js b/html/webbox.js
index 17ec25a..09a3979 100644
--- a/html/webbox.js
+++ b/html/webbox.js
@@ -724,8 +724,6 @@ function rename() {
loadContents(currentDir); // load new file list with deleted items
}
- var filename = getSelectedFiles()[0];
-
var parser = new DOMParser();
var xmlDocument = parser.parseFromString("<request></request>", "text/xml");
var filesElement = xmlDocument.getElementsByTagName("request")[0];
@@ -799,7 +797,7 @@ function selectAll() {
var allSelected = true;
for (var i = 0; i < files.length; i++) {
- if (getSelection(files[i]) == false && files[i] != "..") {
+ if (getSelection(files[i]) === false && files[i] != "..") {
allSelected = false;
}
}