mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 08:14:03 +02:00
Tabs: Merge the action's params into the current request url's params
This commit is contained in:
parent
68be11b929
commit
ba4dd255ec
@ -309,13 +309,14 @@ EOT;
|
|||||||
|
|
||||||
private function renderRefreshTab()
|
private function renderRefreshTab()
|
||||||
{
|
{
|
||||||
$url = Url::fromRequest()->without('renderLayout');
|
|
||||||
$tab = $this->get($this->getActiveName());
|
$tab = $this->get($this->getActiveName());
|
||||||
|
|
||||||
if ($tab !== null) {
|
if ($tab !== null) {
|
||||||
|
$url = Url::fromRequest($tab->getUrl()->getParams()->toArray(false))->without('renderLayout');
|
||||||
$label = $this->view()->escape(
|
$label = $this->view()->escape(
|
||||||
$tab->getLabel()
|
$tab->getLabel()
|
||||||
);
|
);
|
||||||
|
} else {
|
||||||
|
$url = Url::fromRequest()->without('renderLayout');
|
||||||
}
|
}
|
||||||
|
|
||||||
if (! empty($label)) {
|
if (! empty($label)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user