Removed legacy disabling of security token and strict form method check

for nested gridfields, doesn't seem to be needed anymore.
This commit is contained in:
Niklas Forsdahl 2024-04-24 10:17:22 +03:00
parent c517c693f9
commit 70b838ea8c
1 changed files with 0 additions and 2 deletions

View File

@ -119,8 +119,6 @@ class GridFieldNestedFormItemRequest extends GridFieldDetailForm_ItemRequest
$gridField->setAttribute('data-class', str_replace('\\', '-', $relationClass));
$gridField->addExtraClass('nested');
$form = new Form($this, 'ItemEditForm', $fields, new FieldList());
$form->setStrictFormMethodCheck(false);
$form->disableSecurityToken();
$className = str_replace('\\', '-', get_class($this->record));
$state = $this->gridField->getState()->GridFieldNestedForm;