Try to remove code i think it's deprecated

This commit is contained in:
Laurent Destailleur 2011-02-05 03:29:51 +00:00
parent 80bfe610b2
commit 7f6007f2e4

View File

@ -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)