mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-24 06:14:25 +02:00
js: Transmit X-Icinga-Autorefresh=1
with autorefresh requests
This commit is contained in:
parent
2c7b2330a7
commit
3e29fba052
@ -245,6 +245,10 @@
|
||||
// Not sure whether we need this Accept-header
|
||||
var headers = { 'X-Icinga-Accept': 'text/html' };
|
||||
|
||||
if (autorefresh) {
|
||||
headers['X-Icinga-Autorefresh'] = '1';
|
||||
}
|
||||
|
||||
// Ask for a new window id in case we don't already have one
|
||||
if (this.icinga.ui.hasWindowId()) {
|
||||
var windowId = this.icinga.ui.getWindowId();
|
||||
|
Loading…
x
Reference in New Issue
Block a user