From 2cca8753a5d894f285a3dfbbac7bb7f76baf3cf9 Mon Sep 17 00:00:00 2001 From: Jerome Jutteau Date: Sun, 15 Nov 2020 23:53:27 +0100 Subject: [PATCH 1/1] [BUGFIX] show proper error on classic upload failure Signed-off-by: Jerome Jutteau --- lib/functions.js.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/functions.js.php b/lib/functions.js.php index 5b4ad60..1527d01 100644 --- a/lib/functions.js.php +++ b/lib/functions.js.php @@ -370,6 +370,10 @@ function classic_upload (file, time, password, one_time, upload_password) show_link (res[0], res[1], res[2], expiryDate); } + else + { + pop_failure (""); + } } req.open ("POST", 'script.php' , true); -- 2.34.1