mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR Groups in SecurityAdmin was not using Autosuggestion field for adding members to group.
This commit is contained in:
parent
008ecf750a
commit
6f2e8893a5
@ -62,7 +62,7 @@ class Group extends DataObject {
|
|||||||
public function getCMSFields() {
|
public function getCMSFields() {
|
||||||
Requirements::javascript(SAPPHIRE_DIR . '/javascript/PermissionCheckboxSetField.js');
|
Requirements::javascript(SAPPHIRE_DIR . '/javascript/PermissionCheckboxSetField.js');
|
||||||
|
|
||||||
$config = new GridFieldConfig_ManyManyEditor('FirstName', false, 20);
|
$config = new GridFieldConfig_ManyManyEditor('FirstName', true, 20);
|
||||||
$config->addComponent(new GridFieldPopupForms(Controller::curr(), 'EditForm'));
|
$config->addComponent(new GridFieldPopupForms(Controller::curr(), 'EditForm'));
|
||||||
$config->addComponent(new GridFieldExporter());
|
$config->addComponent(new GridFieldExporter());
|
||||||
$memberList = new GridField('Members','Members', $this->Members(), $config);
|
$memberList = new GridField('Members','Members', $this->Members(), $config);
|
||||||
|
Loading…
Reference in New Issue
Block a user