Merge pull request #18946 from atm-lena/13.0_FIX_HookCreateDictionaryFieldList_HTMLTRTag
Hook createDictionaryFieldList : tr html tag to right place
This commit is contained in:
commit
d75138b362
@ -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))
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user