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:
Sean Harvey 2009-01-13 04:15:51 +00:00 committed by Sam Minnee
parent 51881ac87a
commit 8f22f4ffc3

View File

@ -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(