mirror of
https://github.com/silverstripe/silverstripe-frameworktest
synced 2024-10-22 11:06:02 +02:00
Fixed favourite page dropdown placement
See https://github.com/silverstripe/silverstripe-cms/issues/387
This commit is contained in:
parent
884b5305ed
commit
f68cfda091
@ -7,7 +7,10 @@ class FrameworkTestRole extends DataExtension {
|
||||
);
|
||||
|
||||
function updateCMSFields(FieldList $fields) {
|
||||
$fields->push(new TreeDropdownField("FavouritePageID", "Favourite page", "SiteTree"));
|
||||
$fields->addFieldToTab(
|
||||
'Root.Main',
|
||||
new TreeDropdownField("FavouritePageID", "Favourite page", "SiteTree")
|
||||
);
|
||||
}
|
||||
|
||||
function requireDefaultRecords() {
|
||||
|
Loading…
Reference in New Issue
Block a user