mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2026-01-09 06:42:52 -05:00
Ignore action URL parameter for tile links
Else every tile opens with the action for the current tile.
This commit is contained in:
parent
1c0e9f5bd4
commit
c4ee09d567
1 changed files with 4 additions and 3 deletions
|
|
@ -219,13 +219,14 @@ abstract class Renderer extends Html
|
|||
public function setUrl(Url $url)
|
||||
{
|
||||
$this->url = $url->without(array(
|
||||
'action',
|
||||
'deletenode',
|
||||
'deleteparent',
|
||||
'editnode',
|
||||
'simulationnode',
|
||||
'view'
|
||||
));
|
||||
$this->setBaseUrl($url);
|
||||
$this->setBaseUrl($this->url);
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
|
@ -233,9 +234,9 @@ abstract class Renderer extends Html
|
|||
* @param Url $url
|
||||
* @return $this
|
||||
*/
|
||||
public function setBaseUrl(Url $url)
|
||||
protected function setBaseUrl(Url $url)
|
||||
{
|
||||
$this->baseUrl = $url->without(array('node', 'path', 'view'));
|
||||
$this->baseUrl = $url->without(array('node', 'path'));
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue