mirror of
https://github.com/symbiote/silverstripe-gridfieldextensions.git
synced 2024-10-22 17:05:39 +02:00
deny inline editing of records SS4
This commit is contained in:
parent
3f6036b1ae
commit
658874419a
@ -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(
|
||||||
|
Loading…
Reference in New Issue
Block a user