In 10.4, the mechanism for reloading the web pages changed and now uses the following code:
$(function() {
if ($("[data-resource-loading-mode]").length == 0 || $("[data-resource-loading-mode='Synchronous']").length > 0) {
var orionPageRefreshTimeout=setTimeout('window.location.assign(window.location)', 180000);
var orionPageRefreshMilSecs = 180000;
} else {
setInterval(function(){ SW.Core.View.Refresh(); }, 180000);
}
});
The "issue" is that i use solarwinds' html objects to provide a window into other services-- database driven queries, etc, in windows that i don't want to refresh. Previous to 10.4, on these pages, I was able to cancel the refresh via javascript.
If the above just captured the return of the setInterval function, i'd be able to do so again.
Can we add this simple fix to a future rev?
ie,
$(function() {
if ($("[data-resource-loading-mode]").length == 0 || $("[data-resource-loading-mode='Synchronous']").length > 0) {
var orionPageRefreshTimeout=setTimeout('window.location.assign(window.location)', 180000);
var orionPageRefreshMilSecs = 180000;
} else {
refreshIntervalId=setInterval(function(){ SW.Core.View.Refresh(); }, 180000);
}
});