Permalink
Browse files

MINOR add a hidden field to attach the subsite ID, rather than relyin…

…g on the session (from r91014) (from r96808)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102672 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information...
1 parent 4078c31 commit 1e972ed6953710dba233c9afdd74fb087b0382d6 @chillu chillu committed Apr 13, 2010
Showing with 2 additions and 0 deletions.
  1. +2 −0 code/CMSMain.php
View
@@ -1023,6 +1023,8 @@ function AddForm() {
new DropdownField("PageType", "", $pageTypes, 'Page')
);
+ $this->extend('updatePageOptions', $fields);
+
$actions = new FieldSet(
new FormAction("doAdd", _t('CMSMain.GO',"Go"))
);

0 comments on commit 1e972ed

Please sign in to comment.