Bug #19071 ยป 20080707_dyntabs_nonempty.patch
typo3/template.php (working copy) | ||
---|---|---|
$JSinit[] = '
|
||
DTM_array["'.$id.'"]['.$c.'] = "'.$id.'-'.$index.'";
|
||
';
|
||
if ($toggle==1) {
|
||
// If not empty and we have the toggle option on, check if the tab needs to be expanded
|
||
if ($toggle == 1 && $isNotEmpty) {
|
||
$JSinit[] = '
|
||
if (top.DTM_currentTabs["'.$id.'-'.$index.'"]) { DTM_toggle("'.$id.'","'.$index.'",1); }
|
||
';
|