1
0
mirror of https://github.com/symbiote/silverstripe-gridfieldextensions.git synced 2024-10-22 17:05:39 +02:00

Merge pull request from sachithra-gayan/gridFieldEditableColumns_SS4

Fixes error when inline editing of records SS4
This commit is contained in:
Marcus 2017-06-06 13:08:30 +10:00 committed by GitHub
commit 1b0abe0ca6

View File

@ -275,7 +275,7 @@ class GridFieldEditableColumns extends GridFieldDataColumns implements
{ {
$fields = $this->getFields($grid, $record); $fields = $this->getFields($grid, $record);
$form = new Form($this, null, $fields, new FieldList()); $form = new Form($grid, null, $fields, new FieldList());
$form->loadDataFrom($record); $form->loadDataFrom($record);
$form->setFormAction(Controller::join_links( $form->setFormAction(Controller::join_links(