Skip to content
Snippets Groups Projects
Commit 4881d8f1 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix: Horizontal scrolling

parent 07317051
Branches
Tags
No related merge requests found
...@@ -1262,7 +1262,10 @@ function fieldList($fieldlist,$obj='',$tabname='') ...@@ -1262,7 +1262,10 @@ function fieldList($fieldlist,$obj='',$tabname='')
else else
{ {
print '<td>'; print '<td>';
print '<input type="text" '.($fieldlist[$field]=='libelle'?'size="32" ':'').' class="flat" value="'.(isset($obj->$fieldlist[$field])?$obj->$fieldlist[$field]:'').'" name="'.$fieldlist[$field].'">'; $size='';
if ($fieldlist[$field]=='libelle') $size='size="32" ';
if ($fieldlist[$field]=='accountancy_code') $size='size="9" ';
print '<input type="text" '.$size.' class="flat" value="'.(isset($obj->$fieldlist[$field])?$obj->$fieldlist[$field]:'').'" name="'.$fieldlist[$field].'">';
print '</td>'; print '</td>';
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment