JS/Dashboard: Initial XHRs must not push the URL loaded to the browser's history stack

This commit is contained in:
Eric Lippmann 2014-02-20 16:59:17 +01:00 committed by Thomas Gelf
parent 73dc6c3c27
commit 8f4d062cbc

View File

@ -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) {