mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
MINOR Added data-id=0 to root node in LeftAndMain->getSiteTreeAsUL()
This commit is contained in:
parent
f53fe8193f
commit
4f0c5d115a
@ -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>";
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user