diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index da1ec3442c82be2139aa60fa6102fda4b9cc4382..d827682cc246981707851d3f443a10b94e7b20f1 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -948,7 +948,7 @@ class Form $num = $this->db->num_rows($result); $outselect.='<select class="flat" name="'.$htmlname.'"'; - if ($conf->use_javascript_ajax && $num && $conf->global->PRODUIT_USE_SEARCH_TO_SELECT) $outselect.=' onchange="publish_selvalue(this);"'; + //if ($conf->use_javascript_ajax && $num && $conf->global->PRODUIT_USE_SEARCH_TO_SELECT) $outselect.=' onchange="publish_selvalue(this);"'; $outselect.='>'; if ($conf->use_javascript_ajax) @@ -1184,7 +1184,7 @@ class Form $num = $this->db->num_rows($result); $outselect.='<select class="flat" id="select'.$htmlname.'" name="'.$htmlname.'"'; - if ($conf->use_javascript_ajax && $num) $outselect.=' onchange="publish_selvalue(this);"'; + //if ($conf->use_javascript_ajax && $num) $outselect.=' onchange="publish_selvalue(this);"'; $outselect.='>'; if ($conf->use_javascript_ajax)