mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
elofgren: VAR FIX: Fix typo in LeftAndMain::addTreeNodeJS() by renaming 'select' parameter to 'selected' because 'selected' is what is used in the method body.
(merged from branches/gsoc) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41843 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
dfa6b99f18
commit
9b29b09a24
@ -510,7 +510,7 @@ JS;
|
|||||||
/**
|
/**
|
||||||
* Return JavaScript code to generate a tree node for the given page, if visible
|
* Return JavaScript code to generate a tree node for the given page, if visible
|
||||||
*/
|
*/
|
||||||
public function addTreeNodeJS($page, $select = false) {
|
public function addTreeNodeJS($page, $selected = false) {
|
||||||
$parentID = (int)$page->ParentID;
|
$parentID = (int)$page->ParentID;
|
||||||
$title = Convert::raw2js($page->TreeTitle());
|
$title = Convert::raw2js($page->TreeTitle());
|
||||||
$response = <<<JS
|
$response = <<<JS
|
||||||
|
Loading…
Reference in New Issue
Block a user