Stop refresh on any error unless its an auto-refresh

Links with the same URL may still be user-triggered actions, which should cause the auto-refresh to be stalled. The old implementation assumed that user-triggered requests always have a different URL.

fixes #8975
This commit is contained in:
Matthias Jentsch 2015-08-18 16:41:44 +02:00
parent 0c2afe3c3b
commit 34bf6bb11e
1 changed files with 1 additions and 2 deletions

View File

@ -633,8 +633,7 @@
/*
* Test if a manual actions comes in and autorefresh is active: Stop refreshing
*/
if (req.addToHistory && ! req.autorefresh && req.$target.data('icingaRefresh') > 0
&& req.$target.data('icingaUrl') !== url) {
if (req.addToHistory && ! req.autorefresh && req.$target.data('icingaRefresh') > 0) {
req.$target.data('icingaRefresh', 0);
req.$target.data('icingaUrl', url);
}