Fix: Correct height of empty line for thirdparties combo list.

This commit is contained in:
Laurent Destailleur 2014-09-08 12:05:24 +02:00
parent 562c47dd62
commit a3bbf2aff9

View File

@ -803,7 +803,11 @@ class Form
// Construct $out and $outarray
$out.= '<select id="'.$htmlname.'" class="flat" name="'.$htmlname.'">'."\n";
if ($showempty) $out.= '<option value="-1"></option>'."\n";
$textifempty=' ';
if (! empty($conf->use_javascript_ajax) || $forcecombo) $textifempty='&nbsp;';
if ($showempty) $out.= '<option value="-1">'.$textifempty.'</option>'."\n";
$num = $this->db->num_rows($resql);
$i = 0;
if ($num)