Merge pull request #8461 from hregis/develop_multicompany
Fix: best visibility of choices
This commit is contained in:
commit
a214d0b3d7
@ -122,13 +122,13 @@ class FormBarCode
|
|||||||
|
|
||||||
if ($useempty && $num > 0)
|
if ($useempty && $num > 0)
|
||||||
{
|
{
|
||||||
print '<select class="flat" name="'.$htmlname.'" id="select_'.$htmlname.'">';
|
print '<select class="flat minwidth75imp" name="'.$htmlname.'" id="select_'.$htmlname.'">';
|
||||||
print '<option value="0"> </option>';
|
print '<option value="0"> </option>';
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$langs->load("errors");
|
$langs->load("errors");
|
||||||
print '<select disabled class="flat" name="'.$htmlname.'" id="select_'.$htmlname.'">';
|
print '<select disabled class="flat minwidth75imp" name="'.$htmlname.'" id="select_'.$htmlname.'">';
|
||||||
print '<option value="0" selected>'.$langs->trans('ErrorNoActivatedBarcode').'</option>';
|
print '<option value="0" selected>'.$langs->trans('ErrorNoActivatedBarcode').'</option>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user