mirror of
https://github.com/silverstripe/silverstripe-subsites
synced 2024-10-22 11:05:55 +02:00
FIX Add an empty string to the subsite operations dropdown.
This prevents a subsite from being chosen as the default option, assuming this is undesired
This commit is contained in:
parent
809b1d9b85
commit
e405dff946
@ -124,7 +124,8 @@ class SiteTreeSubsites extends DataExtension
|
||||
DropdownField::create('CopyToSubsiteID', _t(
|
||||
__CLASS__ . '.CopyToSubsite',
|
||||
'Copy page to subsite'
|
||||
), $subsitesMap),
|
||||
), $subsitesMap)
|
||||
->setEmptyString('Select an Option'),
|
||||
CheckboxField::create(
|
||||
'CopyToSubsiteWithChildren',
|
||||
_t(__CLASS__ . '.CopyToSubsiteWithChildren', 'Include children pages?')
|
||||
|
Loading…
Reference in New Issue
Block a user