Config: Fix base target of 'Create Command Transport' button link

This commit is contained in:
Eric Lippmann 2019-12-11 20:39:48 +01:00
parent 7f132951a3
commit 4136f2fe43

View file

@ -36,12 +36,13 @@ class ConfigController extends Controller
$this->mergeTabs($this->Module()->getConfigTabs()->activate('command-transports'));
$this->addControl(new ButtonLink(
$this->translate('Create Command Transport'),
'icingadb/config/create-command-transport',
'plus',
['data-base-target' => '_next']
));
$this->addControl(
(new ButtonLink(
$this->translate('Create Command Transport'),
'icingadb/config/create-command-transport',
'plus'
))->setBaseTarget('_next')
);
$this->addFormToContent($form);
}