mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-07 16:41:48 +01:00
New: Add id on html object
This commit is contained in:
@@ -2953,7 +2953,7 @@ class Form
|
||||
$no="0";
|
||||
}
|
||||
|
||||
$resultyesno = '<select class="flat" name="'.$htmlname.'">'."\n";
|
||||
$resultyesno = '<select class="flat" id="'.$htmlname.'" name="'.$htmlname.'">'."\n";
|
||||
if (("$value" == 'yes') || ($value == 1))
|
||||
{
|
||||
$resultyesno .= '<option value="'.$yes.'" selected="selected">'.$langs->trans("Yes").'</option>'."\n";
|
||||
|
||||
Reference in New Issue
Block a user