mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
ENHANCEMENT Default to "Page" for new page type dropdown
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@70064 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
51881ac87a
commit
8f22f4ffc3
@ -1122,7 +1122,7 @@ JS;
|
|||||||
|
|
||||||
return new Form($this, "AddPageOptionsForm", new FieldSet(
|
return new Form($this, "AddPageOptionsForm", new FieldSet(
|
||||||
new HiddenField("ParentID"),
|
new HiddenField("ParentID"),
|
||||||
new DropdownField("PageType", "", $pageTypes)
|
new DropdownField("PageType", "", $pageTypes, 'Page')
|
||||||
// "Page to copy" => new TreeDropdownField("DuplicateSection", "", "SiteTree"),
|
// "Page to copy" => new TreeDropdownField("DuplicateSection", "", "SiteTree"),
|
||||||
),
|
),
|
||||||
new FieldSet(
|
new FieldSet(
|
||||||
|
Loading…
Reference in New Issue
Block a user