Fix: best visibility of choices
This commit is contained in:
parent
6b47df6695
commit
7d7a006583
@ -122,13 +122,13 @@ class FormBarCode
|
||||
|
||||
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>';
|
||||
}
|
||||
else
|
||||
{
|
||||
$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>';
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user