mirror of
https://github.com/Icinga/icingaweb2.git
synced 2026-04-29 18:20:16 -04:00
Use -1 for last update of the menu
We must not rely on the server time minus an offset for the last update of the menu to trigger an immediate update of the menu because the server time may be behind the current time. fixes #8694
This commit is contained in:
parent
7fe4b3d7ab
commit
83443a5dc4
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ if (! $this->auth()->isAuthenticated()) {
|
|||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div id="menu" data-last-update="<?= (time() - 14) ?>000" data-base-target="_main" class="container"
|
||||
<div id="menu" data-last-update="-1" data-base-target="_main" class="container"
|
||||
data-icinga-url="<?= $this->href('layout/menu') ?>" data-icinga-refresh="15">
|
||||
<?= $this->partial(
|
||||
'layout/menu.phtml',
|
||||
|
|
|
|||
Loading…
Reference in a new issue