summaryrefslogtreecommitdiffhomepage
path: root/plugins/webbox/html/webbox.js
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/webbox/html/webbox.js')
-rw-r--r--plugins/webbox/html/webbox.js7
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