Permalink
Browse files

MINOR Added data-id=0 to root node in LeftAndMain->getSiteTreeAsUL()

  • Loading branch information...
1 parent f53fe81 commit 4f0c5d115a84fa14fb92976642b15e888fd422c3 @chillu chillu committed Mar 1, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 code/LeftAndMain.php
View
@@ -546,7 +546,7 @@ function getSiteTreeFor($className, $rootID = null, $childrenMethod = null, $num
$treeTitle = $siteConfig->Title;
}
- $html = "<ul id=\"sitetree\" class=\"tree unformatted\"><li id=\"record-0\" class=\"Root nodelete\"><a href=\"$rootLink\"><strong>$treeTitle</strong></a>"
+ $html = "<ul id=\"sitetree\" class=\"tree unformatted\"><li id=\"record-0\" data-id=\"0\"class=\"Root nodelete\"><a href=\"$rootLink\"><strong>$treeTitle</strong></a>"
. $html . "</li></ul>";
}

0 comments on commit 4f0c5d1

Please sign in to comment.