mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
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
This commit is contained in:
parent
a010ab82a3
commit
2845529234
@ -48,6 +48,7 @@ class CMSMain extends LeftAndMain implements CurrentPageIdentifier, PermissionPr
|
||||
'restore',
|
||||
'revert',
|
||||
'rollback',
|
||||
'RootForm',
|
||||
'sidereport',
|
||||
'submit',
|
||||
'unpublish',
|
||||
@ -516,7 +517,8 @@ JS;
|
||||
|
||||
$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);
|
||||
|
Loading…
Reference in New Issue
Block a user