mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
FIX Remove redundant "rightGroup" logic and increase getRightGroupField to protected
This commit is contained in:
parent
1f1c344272
commit
efa427fc45
@ -274,7 +274,7 @@ class GridFieldDetailForm_ItemRequest extends RequestHandler
|
||||
/**
|
||||
* @return CompositeField Returns the right aligned toolbar group field along with its FormAction's
|
||||
*/
|
||||
private function getRightGroupField()
|
||||
protected function getRightGroupField()
|
||||
{
|
||||
$rightGroup = CompositeField::create()->setName('RightGroup');
|
||||
$rightGroup->addExtraClass('ml-auto');
|
||||
@ -361,10 +361,6 @@ class GridFieldDetailForm_ItemRequest extends RequestHandler
|
||||
|
||||
$this->extend('updateFormActions', $actions);
|
||||
|
||||
if (isset($rightGroup)) {
|
||||
$actions->push($rightGroup);
|
||||
}
|
||||
|
||||
return $actions;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user