Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

BUGFIX: Apply AJShort's patch to fix SiteConfig (trac 5671)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@106351 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information...
commit 2845529234eec4a75b669b4e8f8fb54a9b59ea21 1 parent a010ab8
@lingo lingo authored sminnee committed
Showing with 3 additions and 1 deletion.
  1. +3 −1 code/CMSMain.php
View
4 code/CMSMain.php
@@ -48,6 +48,7 @@ class CMSMain extends LeftAndMain implements CurrentPageIdentifier, PermissionPr
'restore',
'revert',
'rollback',
+ 'RootForm',
'sidereport',
'submit',
'unpublish',
@@ -516,7 +517,8 @@ function RootForm() {
$fields->push(new HiddenField('ID', '', $siteConfig->ID));
- $form = new Form($this, "EditForm", $fields, $siteConfig->getCMSActions());
+ $form = new Form($this, 'RootForm', $fields, $siteConfig->getCMSActions());
+ $form->setHTMLID('Form_EditForm');
$form->loadDataFrom($siteConfig);
$this->extend('updateEditForm', $form);

0 comments on commit 2845529

Please sign in to comment.
Something went wrong with that request. Please try again.