Merge pull request #8293 from open-sausages/pulls/4.2/restore-default-delete-action-of-record-editor

FIX Restore default delete action on GridFieldConfig_RecordEditor
This commit is contained in:
Daniel Hensby 2018-07-30 17:00:09 +01:00 committed by GitHub
commit 17dbb86257
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ class GridFieldConfig_RecordEditor extends GridFieldConfig
$this->addComponent($filter = new GridFieldFilterHeader());
$this->addComponent(new GridFieldDataColumns());
$this->addComponent(new GridFieldEditButton());
$this->addComponent(new GridFieldDeleteAction(true));
$this->addComponent(new GridFieldDeleteAction());
$this->addComponent(new GridField_ActionMenu());
$this->addComponent(new GridFieldPageCount('toolbar-header-right'));
$this->addComponent($pagination = new GridFieldPaginator($itemsPerPage));