hook createDictioaryFieldList : tr html tag to right place

This commit is contained in:
atm-lena 2021-10-11 16:03:56 +02:00
parent efd44b0ec0
commit 7c8bde885b

View File

@ -1238,6 +1238,10 @@ if ($id)
print $tdsoffields;
// Line to enter new values
print '<!-- line to add new entry -->';
print '<tr class="oddeven nodrag nodrop nohover">';
$obj = new stdClass();
// If data was already input, we define them in obj to populate input fields.
if (GETPOST('actionadd'))
@ -1256,9 +1260,6 @@ if ($id)
if ($id == 3) unset($fieldlist[2]); // Remove field ??? if dictionary Regions
// Line to enter new values
print '<!-- line to add new entry -->';
print '<tr class="oddeven nodrag nodrop nohover">';
if (empty($reshook))
{