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=<<