mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
FIX Support new arguments for better buttons support
This commit is contained in:
parent
88215b9efb
commit
9d311ca02b
@ -103,7 +103,7 @@ class UserFormFieldEditorExtension extends DataExtension
|
|||||||
new GridFieldDeleteAction(),
|
new GridFieldDeleteAction(),
|
||||||
new GridFieldToolbarHeader(),
|
new GridFieldToolbarHeader(),
|
||||||
new GridFieldOrderableRows('Sort'),
|
new GridFieldOrderableRows('Sort'),
|
||||||
new GridFieldDetailForm()
|
new GridFieldDetailForm(null, false, false)
|
||||||
);
|
);
|
||||||
|
|
||||||
$editButton->removeExtraClass('grid-field__icon-action--hidden-on-hover');
|
$editButton->removeExtraClass('grid-field__icon-action--hidden-on-hover');
|
||||||
|
@ -258,7 +258,7 @@ SQL;
|
|||||||
$config->addComponent(new GridFieldDeleteAction());
|
$config->addComponent(new GridFieldDeleteAction());
|
||||||
$config->addComponent(new GridFieldPageCount('toolbar-header-right'));
|
$config->addComponent(new GridFieldPageCount('toolbar-header-right'));
|
||||||
$config->addComponent($pagination = new GridFieldPaginator(25));
|
$config->addComponent($pagination = new GridFieldPaginator(25));
|
||||||
$config->addComponent(new GridFieldDetailForm());
|
$config->addComponent(new GridFieldDetailForm(null, null, false));
|
||||||
$config->addComponent(new GridFieldButtonRow('after'));
|
$config->addComponent(new GridFieldButtonRow('after'));
|
||||||
$config->addComponent($export = new GridFieldExportButton('buttons-after-left'));
|
$config->addComponent($export = new GridFieldExportButton('buttons-after-left'));
|
||||||
$config->addComponent($print = new GridFieldPrintButton('buttons-after-left'));
|
$config->addComponent($print = new GridFieldPrintButton('buttons-after-left'));
|
||||||
|
Loading…
Reference in New Issue
Block a user