Skip to content

Commit

Permalink
MINOR add a hidden field to attach the subsite ID, rather than relyin…
Browse files Browse the repository at this point in the history
…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
chillu committed Apr 13, 2010
1 parent 4078c31 commit 1e972ed
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions code/CMSMain.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -1023,6 +1023,8 @@ function AddForm() {
new DropdownField("PageType", "", $pageTypes, 'Page') new DropdownField("PageType", "", $pageTypes, 'Page')
); );


$this->extend('updatePageOptions', $fields);

$actions = new FieldSet( $actions = new FieldSet(
new FormAction("doAdd", _t('CMSMain.GO',"Go")) new FormAction("doAdd", _t('CMSMain.GO',"Go"))
); );
Expand Down

0 comments on commit 1e972ed

Please sign in to comment.