Merge pull request #190 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);
$form = new Form($this, null, $fields, new FieldList());
$form = new Form($grid, null, $fields, new FieldList());
$form->loadDataFrom($record);
$form->setFormAction(Controller::join_links(