mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
Merge branch 'pulls/selectiongroup'
This commit is contained in:
commit
8cd29b627c
@ -46,13 +46,21 @@ class CMSPageAddController extends CMSPageEditController {
|
||||
$parentModeField = new SelectionGroup(
|
||||
"ParentModeField",
|
||||
array(
|
||||
"top//$topTitle" => null, //new LiteralField("Dummy", ''),
|
||||
"child//$childTitle" => $parentField = new TreeDropdownField(
|
||||
"ParentID",
|
||||
"",
|
||||
'SiteTree',
|
||||
'ID',
|
||||
'TreeTitle'
|
||||
new SelectionGroup_Item(
|
||||
"top",
|
||||
null,
|
||||
$topTitle
|
||||
),
|
||||
new SelectionGroup_Item(
|
||||
'child',
|
||||
$parentField = new TreeDropdownField(
|
||||
"ParentID",
|
||||
"",
|
||||
'SiteTree',
|
||||
'ID',
|
||||
'TreeTitle'
|
||||
),
|
||||
$childTitle
|
||||
)
|
||||
)
|
||||
),
|
||||
|
Loading…
Reference in New Issue
Block a user