From 11bf077027ec2833d1944a79eeb4d5407195af09 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Mon, 11 May 2020 20:12:51 +0200 Subject: webbox: Info page: Info for all entries if nothing selected --- plugins/webbox/html/webbox.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'plugins/webbox/html') 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 -- cgit v1.2.3