mirror of
https://github.com/silverstripe/silverstripe-frameworktest
synced 2024-10-22 09:06:02 +00: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) {
|
function updateCMSFields(FieldList $fields) {
|
||||||
$fields->push(new TreeDropdownField("FavouritePageID", "Favourite page", "SiteTree"));
|
$fields->addFieldToTab(
|
||||||
|
'Root.Main',
|
||||||
|
new TreeDropdownField("FavouritePageID", "Favourite page", "SiteTree")
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
function requireDefaultRecords() {
|
function requireDefaultRecords() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user