Cosmetic bug fix: the triangle image of the collapsible section was not displayed properly if the "section" was initially open.

SVN:trunk[240]
This commit is contained in:
Denis Flaven
2010-01-12 10:20:01 +00:00
parent 423216e4ae
commit 532ce97fd1

View File

@@ -141,7 +141,9 @@ class DisplayTemplate
break;
case 'itoptoggle':
$oPage->StartCollapsibleSection($aAttributes['name']);
$sName = isset($aAttributes['name']) ? $aAttributes['name'] : 'Tagada';
$bOpen = isset($aAttributes['open']) ? $aAttributes['open'] : true;
$oPage->StartCollapsibleSection($sName, $bOpen);
$oTemplate = new DisplayTemplate($sContent);
$oTemplate->Render($oPage, array()); // no params to apply, they have already been applied
//$oPage->p('iTop Tab Content:<pre>'.htmlentities($sContent).'</pre>');