deny inline editing of records SS4

This commit is contained in:
sac 2017-06-01 13:02:43 +05:30
parent 3f6036b1ae
commit 658874419a

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(