diff options
-rw-r--r-- | plugins/webbox/TODO | 1 | ||||
-rw-r--r-- | plugins/webbox/html/webbox.js | 7 |
2 files changed, 5 insertions, 3 deletions
diff --git a/plugins/webbox/TODO b/plugins/webbox/TODO index 288cf38..bbca6d3 100644 --- a/plugins/webbox/TODO +++ b/plugins/webbox/TODO @@ -3,7 +3,6 @@ Prio 1 (for next version) provide index for nested directories, also if requested via url gallery -Info if not selected: all Prio 2 (for future versions) ====== 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 |