diff options
author | Roland Reichwein <mail@reichwein.it> | 2020-05-11 20:12:51 +0200 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2020-05-11 20:12:51 +0200 |
commit | 11bf077027ec2833d1944a79eeb4d5407195af09 (patch) | |
tree | c2550110a079eb811f59254c755ea2f6be9aa72a /plugins/webbox/html | |
parent | 99048beee343e0aacf538d53ce91c7b545f09089 (diff) |
webbox: Info page: Info for all entries if nothing selected
Diffstat (limited to 'plugins/webbox/html')
-rw-r--r-- | plugins/webbox/html/webbox.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/plugins/webbox/html/webbox.js b/plugins/webbox/html/webbox.js index 80ee8ed..6201e55 100644 --- a/plugins/webbox/html/webbox.js +++ b/plugins/webbox/html/webbox.js @@ -833,8 +833,11 @@ function info() { var files = getSelectedFiles(); if (files.length == 0) { - document.getElementById("dialog").innerHTML = "No files selected."; - return; + files = getFileList(); + if (files.length == 0) { + document.getElementById("dialog").innerHTML = "No files available."; + return; + } } // send info request for files |