js: Allow to suspend auto refresh for individual containers
This commit is contained in:
parent
4366f93127
commit
1f29c4a2fe
|
@ -354,7 +354,7 @@
|
|||
},
|
||||
|
||||
filterAutorefreshingContainers: function () {
|
||||
return $(this).data('icingaRefresh') > 0;
|
||||
return $(this).data('icingaRefresh') > 0 && ! $(this).is('[data-suspend-autorefresh]');
|
||||
},
|
||||
|
||||
autorefresh: function () {
|
||||
|
@ -659,6 +659,10 @@
|
|||
}
|
||||
}
|
||||
|
||||
if (req.autorefresh && req.$target.is('[data-suspend-autorefresh]')) {
|
||||
return;
|
||||
}
|
||||
|
||||
this.icinga.logger.debug(
|
||||
'Got response for ', req.$target, ', URL was ' + req.url
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue