mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-06 17:48:25 +01:00
Fix: move ajax tpl to js for uniform code
This commit is contained in:
@@ -585,6 +585,14 @@ function dol_get_fiche_head($links=array(), $active='0', $title='', $notab=0, $p
|
||||
$out.="</div>\n";
|
||||
|
||||
if (! $notab) $out.="\n".'<div class="tabBar">'."\n";
|
||||
|
||||
// Parameters for edit in place
|
||||
if (! empty($GLOBALS['object']))
|
||||
{
|
||||
$out.='<div id="element" class="hidden">'.$GLOBALS['object']->element.'</div>'."\n";
|
||||
$out.='<div id="table_element" class="hidden">'.$GLOBALS['object']->table_element.'</div>'."\n";
|
||||
$out.='<div id="fk_element" class="hidden">'.$GLOBALS['object']->id.'</div>'."\n";
|
||||
}
|
||||
|
||||
return $out;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user