mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
Merge pull request #1852 from AntonyThorpe/addForm_setStrictFormMethodCheck
Bugfix: SS4 Right click, add page fails
This commit is contained in:
commit
8a426a40de
@ -149,7 +149,7 @@ class CMSPageAddController extends CMSPageEditController
|
||||
"AddForm",
|
||||
$fields,
|
||||
$actions
|
||||
)->setHTMLID('Form_AddForm');
|
||||
)->setHTMLID('Form_AddForm')->setStrictFormMethodCheck(false);
|
||||
$form->setAttribute('data-hints', $this->SiteTreeHints());
|
||||
$form->setAttribute('data-childfilter', $this->Link('childfilter'));
|
||||
$form->setValidationResponseCallback(function (ValidationResult $errors) use ($negotiator, $form) {
|
||||
|
Loading…
Reference in New Issue
Block a user