Merge pull request #14323 from altatof/fixsizewithff
FIX : duration fields size with firefox
This commit is contained in:
commit
91db3b9344
@ -5649,7 +5649,7 @@ class Form
|
|||||||
}
|
}
|
||||||
elseif ($typehour=='text' || $typehour=='textselect')
|
elseif ($typehour=='text' || $typehour=='textselect')
|
||||||
{
|
{
|
||||||
$retstring.='<input placeholder="'.$langs->trans('HourShort').'" type="number" min="0" size="1" name="'.$prefix.'hour"'.($disabled?' disabled':'').' class="flat maxwidth50 inputhour" value="'.(($hourSelected != '')?((int) $hourSelected):'').'">';
|
$retstring.='<input placeholder="'.$langs->trans('HourShort').'" type="number" min="0" name="'.$prefix.'hour"'.($disabled?' disabled':'').' class="flat maxwidth50 inputhour" value="'.(($hourSelected != '')?((int) $hourSelected):'').'">';
|
||||||
}
|
}
|
||||||
else return 'BadValueForParameterTypeHour';
|
else return 'BadValueForParameterTypeHour';
|
||||||
|
|
||||||
@ -5673,7 +5673,7 @@ class Form
|
|||||||
}
|
}
|
||||||
elseif ($typehour=='text' )
|
elseif ($typehour=='text' )
|
||||||
{
|
{
|
||||||
$retstring.='<input placeholder="'.$langs->trans('MinuteShort').'" type="number" min="0" size="1" name="'.$prefix.'min"'.($disabled?' disabled':'').' class="flat maxwidth50 inputminute" value="'.(($minSelected != '')?((int) $minSelected):'').'">';
|
$retstring.='<input placeholder="'.$langs->trans('MinuteShort').'" type="number" min="0" name="'.$prefix.'min"'.($disabled?' disabled':'').' class="flat maxwidth50 inputminute" value="'.(($minSelected != '')?((int) $minSelected):'').'">';
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($typehour!='text') $retstring.=' '.$langs->trans('MinuteShort');
|
if ($typehour!='text') $retstring.=' '.$langs->trans('MinuteShort');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user