Permalink
Browse files

MINOR Adjusted to changed TreeNodeAPI->setNodeIcon() arguments - usin…

…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...
1 parent 0abe472 commit 7ecf3fe5ecae17b16fcbbff186711ea0b56d330e @chillu chillu committed Nov 21, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/model/SiteTree.php
View
@@ -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";

0 comments on commit 7ecf3fe

Please sign in to comment.