mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-15 09:54:23 +02:00
JS/Dashboard: Initial XHRs must not push the URL loaded to the browser's history stack
This commit is contained in:
parent
73dc6c3c27
commit
8f4d062cbc
@ -22,7 +22,7 @@
|
|||||||
$('.dashboard > div', el).each(function(idx, el) {
|
$('.dashboard > div', el).each(function(idx, el) {
|
||||||
var url = $(el).attr('data-icinga-url');
|
var url = $(el).attr('data-icinga-url');
|
||||||
if (typeof url === 'undefined') return;
|
if (typeof url === 'undefined') return;
|
||||||
icinga.loader.loadUrl(url, $(el));
|
icinga.loader.loadUrl(url, $(el)).autorefresh = true;
|
||||||
});
|
});
|
||||||
// Set first links href in a action table tr as row href:
|
// Set first links href in a action table tr as row href:
|
||||||
$('table.action tr', el).each(function(idx, el) {
|
$('table.action tr', el).each(function(idx, el) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user