Permalink
Browse files

BUGFIX Removed CSS classes duplication in <a> tags in LeftAndMain->ge…

…tSiteTreeFor(), they're already applied to the parent list element, and confuse the styling of jstree.js
  • Loading branch information...
1 parent a137360 commit 11071eabbd56dd6684fa2e849a5e78aa031fcc2e @chillu chillu committed Mar 2, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 code/LeftAndMain.php
View
@@ -517,7 +517,7 @@ function getSiteTreeFor($className, $rootID = null, $childrenMethod = null, $num
// getChildrenAsUL is a flexible and complex way of traversing the tree
$titleEval = '
"<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: ')
. '".$child->class."\" >" . ($child->TreeTitle) .
"</a>"

0 comments on commit 11071ea

Please sign in to comment.