Merge pull request #877 from UndefinedOffset/3.0

FIX 7906 Regression: GridFieldConfig_RelationEditor: Removing relation d...
This commit is contained in:
Sean Harvey 2012-11-05 11:53:25 -08:00
commit 532699c2ac

View File

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