Skip to content

Commit

Permalink
BUGFIX Removed CSS classes duplication in <a> tags in LeftAndMain->ge…
Browse files Browse the repository at this point in the history
…tSiteTreeFor(), they're already applied to the parent list element, and confuse the styling of jstree.js
  • Loading branch information
chillu committed Mar 22, 2011
1 parent a137360 commit 11071ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/LeftAndMain.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ function getSiteTreeFor($className, $rootID = null, $childrenMethod = null, $num
// getChildrenAsUL is a flexible and complex way of traversing the tree // getChildrenAsUL is a flexible and complex way of traversing the tree
$titleEval = ' $titleEval = '
"<li id=\"record-$child->ID\" data-id=\"$child->ID\" class=\"" . $child->CMSTreeClasses($extraArg) . "\">" . "<li id=\"record-$child->ID\" data-id=\"$child->ID\" class=\"" . $child->CMSTreeClasses($extraArg) . "\">" .
"<a href=\"" . Controller::join_links(substr($extraArg->Link(),0,-1), "show", $child->ID) . "\" class=\"" . $child->CMSTreeClasses($extraArg) . "\" title=\"' "<a href=\"" . Controller::join_links(substr($extraArg->Link(),0,-1), "show", $child->ID) . "\" title=\"'
. _t('LeftAndMain.PAGETYPE','Page type: ') . _t('LeftAndMain.PAGETYPE','Page type: ')
. '".$child->class."\" >" . ($child->TreeTitle) . . '".$child->class."\" >" . ($child->TreeTitle) .
"</a>" "</a>"
Expand Down

0 comments on commit 11071ea

Please sign in to comment.