Permalink
Browse files

MINOR Tree metadata naming

  • Loading branch information...
1 parent 23148b9 commit 7e0d0a4dee3fa924a6264e49088b7997d6bafcad @chillu chillu committed May 7, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 admin/code/LeftAndMain.php
@@ -640,7 +640,7 @@ function getSiteTreeFor($className, $rootID = null, $childrenMethod = null, $num
$titleFn = function(&$child) use(&$controller, &$recordController) {
$classes = $child->CMSTreeClasses();
if($controller->isCurrentPage($child)) $classes .= " current";
- return "<li id=\"record-$child->ID\" data-id=\"$child->ID\" data-ssclass=\"$child->ClassName\" class=\"" . $classes . "\">" .
+ return "<li id=\"record-$child->ID\" data-id=\"$child->ID\" data-pagetype=\"$child->ClassName\" class=\"" . $classes . "\">" .
"<ins class=\"jstree-icon\">&nbsp;</ins>" .
"<a href=\"" . Controller::join_links($recordController->Link("show"), $child->ID) . "\" title=\"" .
_t('LeftAndMain.PAGETYPE','Page type: ') .

0 comments on commit 7e0d0a4

Please sign in to comment.