mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
MINOR Removed redundant code in CMSMain->AddPageOptionsForm()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@70065 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
8f22f4ffc3
commit
9b84e9df6f
@ -1123,7 +1123,6 @@ 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, 'Page')
|
new DropdownField("PageType", "", $pageTypes, 'Page')
|
||||||
// "Page to copy" => new TreeDropdownField("DuplicateSection", "", "SiteTree"),
|
|
||||||
),
|
),
|
||||||
new FieldSet(
|
new FieldSet(
|
||||||
new FormAction("addpage", _t('CMSMain.GO',"Go"))
|
new FormAction("addpage", _t('CMSMain.GO',"Go"))
|
||||||
|
Loading…
Reference in New Issue
Block a user