diff options
author | Roland Stigge <stigge@antcom.de> | 2018-02-26 21:34:25 +0100 |
---|---|---|
committer | Roland Stigge <stigge@antcom.de> | 2018-02-26 21:34:25 +0100 |
commit | 57c1a0adda4401bd307ce90e26ddcf65fb502149 (patch) | |
tree | c5ffe98bd3c74eb65977e6ff1557ec58af210cb7 /html | |
parent | 307ddb90a71b50fc4ba6e31b4d050d01f83e30a3 (diff) |
Javascript fixes
Diffstat (limited to 'html')
-rw-r--r-- | html/webbox.js | 4 |
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; } } |