Merge pull request #1852 from AntonyThorpe/addForm_setStrictFormMethodCheck

Bugfix: SS4 Right click, add page fails
This commit is contained in:
Daniel Hensby 2017-06-15 14:07:08 +01:00 committed by GitHub
commit 8a426a40de

View File

@ -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) {