Try to remove code i think it's deprecated
This commit is contained in:
parent
80bfe610b2
commit
7f6007f2e4
@ -948,7 +948,7 @@ class Form
|
|||||||
$num = $this->db->num_rows($result);
|
$num = $this->db->num_rows($result);
|
||||||
|
|
||||||
$outselect.='<select class="flat" name="'.$htmlname.'"';
|
$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.='>';
|
$outselect.='>';
|
||||||
|
|
||||||
if ($conf->use_javascript_ajax)
|
if ($conf->use_javascript_ajax)
|
||||||
@ -1184,7 +1184,7 @@ class Form
|
|||||||
$num = $this->db->num_rows($result);
|
$num = $this->db->num_rows($result);
|
||||||
|
|
||||||
$outselect.='<select class="flat" id="select'.$htmlname.'" name="'.$htmlname.'"';
|
$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.='>';
|
$outselect.='>';
|
||||||
|
|
||||||
if ($conf->use_javascript_ajax)
|
if ($conf->use_javascript_ajax)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user