From 099223f6fa0b92f41cd05c9ad6a8e8359a1090db Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Tue, 6 Oct 2020 19:03:27 +0200 Subject: [PATCH] not used anymore javascript:void(0) --- include/lib/html_input.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/lib/html_input.class.php b/include/lib/html_input.class.php index e7e22bf96..7ca7c5516 100755 --- a/include/lib/html_input.class.php +++ b/include/lib/html_input.class.php @@ -914,7 +914,7 @@ class HtmlInput { if ($p_js!="") { - $p_url="javascript:void(0)"; + $p_url='href="#"'; } else { $p_url=sprintf('href="%s"',$p_url); } @@ -1140,7 +1140,7 @@ class HtmlInput { $dossier=Dossier::id(); $javascript=<<