Skip to content

Commit

Permalink
MINOR Added data-id=0 to root node in LeftAndMain->getSiteTreeAsUL()
Browse files Browse the repository at this point in the history
  • Loading branch information
chillu committed Mar 22, 2011
1 parent f53fe81 commit 4f0c5d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/LeftAndMain.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@ function getSiteTreeFor($className, $rootID = null, $childrenMethod = null, $num
$treeTitle = $siteConfig->Title; $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>"; . $html . "</li></ul>";
} }


Expand Down

0 comments on commit 4f0c5d1

Please sign in to comment.