Project

General

Profile

Bug #19071 ยป 20080707_dyntabs_nonempty.patch

Administrator Admin, 2008-07-07 13:49

View differences:

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); }
';
    (1-1/1)