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

This commit is contained in:
Ingo Schommer 2011-03-02 09:52:04 +13:00
parent f53fe8193f
commit 4f0c5d115a

View File

@ -546,7 +546,7 @@ class LeftAndMain extends Controller {
$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>";
}