mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
MINOR Adding GridFieldPopupForms to default GridFieldConfig_ManyManyEditor settings
This commit is contained in:
parent
cbfd76dd36
commit
8ff8d32764
@ -131,5 +131,6 @@ class GridFieldConfig_ManyManyEditor extends GridFieldConfig {
|
||||
$this->addComponent(new GridFieldAction_Edit());
|
||||
$this->addComponent(new GridFieldRelationDelete());
|
||||
$this->addComponent(new GridFieldPaginator($itemsPerPage));
|
||||
$this->addComponent(new GridFieldPopupForms());
|
||||
}
|
||||
}
|
||||
|
@ -63,7 +63,6 @@ class Group extends DataObject {
|
||||
Requirements::javascript(SAPPHIRE_DIR . '/javascript/PermissionCheckboxSetField.js');
|
||||
|
||||
$config = new GridFieldConfig_ManyManyEditor('FirstName', true, 20);
|
||||
$config->addComponent(new GridFieldPopupForms());
|
||||
$config->addComponent(new GridFieldExporter());
|
||||
$memberList = new GridField('Members','Members', $this->Members(), $config);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user