mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 15:54:03 +02:00
Merge branch 'bugfix/x-icinga-windowid-auto-refresh'
This commit is contained in:
commit
7fef9bddde
@ -114,8 +114,10 @@ class Request extends Zend_Controller_Request_Http
|
|||||||
public function protectId($id)
|
public function protectId($id)
|
||||||
{
|
{
|
||||||
if (! isset($this->uniqueId)) {
|
if (! isset($this->uniqueId)) {
|
||||||
$this->uniqueId = Window::generateId();
|
$windowId = $this->getHeader('X-Icinga-WindowId');
|
||||||
|
$this->uniqueId = empty($windowId) ? Window::generateId() : $windowId;
|
||||||
}
|
}
|
||||||
|
|
||||||
return $id . '-' . $this->uniqueId;
|
return $id . '-' . $this->uniqueId;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user