From 80756cc49842c18ee4693edca9c748d05dab96a8 Mon Sep 17 00:00:00 2001 From: Sam Minnee Date: Wed, 13 Jan 2010 00:06:12 +0000 Subject: [PATCH] MINOR add a hidden field to attach the subsite ID, rather than relying on the session (from r91014) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@96808 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- code/CMSMain.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/CMSMain.php b/code/CMSMain.php index d1816a42..9dac31f2 100755 --- a/code/CMSMain.php +++ b/code/CMSMain.php @@ -1113,6 +1113,8 @@ JS; new DropdownField("PageType", "", $pageTypes, 'Page') ); + $this->extend('updatePageOptions', $fields); + $actions = new FieldSet( new FormAction("addpage", _t('CMSMain.GO',"Go")) );