From ce0fa53cb0320fc961bfd5df29948cb3b08d016c Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 2 Oct 2020 03:07:31 +0200 Subject: [PATCH] Fix delete of file from file manager --- htdocs/core/class/html.form.class.php | 3 +-- htdocs/website/index.php | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index 7bf559240d9..0a186c02d92 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -4047,7 +4047,7 @@ class Form { global $langs, $conf; - $more = ''; + $more = ''; $formconfirm = ''; $inputok = array(); $inputko = array(); @@ -4232,7 +4232,6 @@ class Form }); } var urljump = pageyes + (pageyes.indexOf("?") < 0 ? "?" : "") + options; - //alert(urljump); if (pageyes.length > 0) { location.href = urljump; } $(this).dialog("close"); }, diff --git a/htdocs/website/index.php b/htdocs/website/index.php index 89ef1785186..fed5be51e87 100644 --- a/htdocs/website/index.php +++ b/htdocs/website/index.php @@ -2433,7 +2433,7 @@ if (!GETPOST('hide_websitemenu')) print ''; } } else { - print ''; + print ''; }