mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
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:
@@ -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>');
|
||||
|
||||
Reference in New Issue
Block a user