Skip to content

Commit

Permalink
MINOR Adjusted to changed TreeNodeAPI->setNodeIcon() arguments - usin…
Browse files Browse the repository at this point in the history
…g 'class-' prefix to denote PHP classes in the tree DOM now

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92532 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information
chillu committed Nov 21, 2009
1 parent 0abe472 commit 7ecf3fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/model/SiteTree.php
Expand Up @@ -2243,7 +2243,7 @@ public function Level($level) {
* @return string
*/
function CMSTreeClasses($controller) {
$classes = $this->class;
$classes = sprintf('class-%s', $this->class);
if($this->HasBrokenFile || $this->HasBrokenLink)
$classes .= " BrokenLink";

Expand Down

0 comments on commit 7ecf3fe

Please sign in to comment.