Fix: javascript error with product in select combo box
This commit is contained in:
parent
c2f3934f4e
commit
f31b04c3ce
@ -1045,7 +1045,9 @@ class Form
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
print '<select class="flat" name="'.$htmlname.'" onchange="publish_selvalue(this);">';
|
print '<select class="flat" name="'.$htmlname.'"';
|
||||||
|
if ($conf->global->PRODUIT_USE_SEARCH_TO_SELECT) print ' onchange="publish_selvalue(this);"';
|
||||||
|
print '>';
|
||||||
print '<option value="0" selected="true">-- '.$langs->trans("MatchingProducts").' --</option>';
|
print '<option value="0" selected="true">-- '.$langs->trans("MatchingProducts").' --</option>';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user