From 6302af62eaf35b59d3c54297a68309820406af81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Mierzwa?= Date: Fri, 31 Mar 2017 23:52:17 -0700 Subject: [PATCH] Don't clear alert grid and top tag popover data if watchdog shows an alert This prevents grid flaps, watchdog error will be shown above all alerts, not instead of --- assets/static/watchdog.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/assets/static/watchdog.js b/assets/static/watchdog.js index e2da1af38..5b9612fe7 100644 --- a/assets/static/watchdog.js +++ b/assets/static/watchdog.js @@ -23,13 +23,11 @@ var Watchdog = (function() { var now = moment().utc().unix(); if (now - lastTs > maxLag) { - Grid.Clear(); $('#errors').html(haml.compileHaml('fatal-error')({ last_ts: lastTs, seconds_left: fatalCountdown })); Counter.Unknown(); - Summary.Reset(); if (!inCountdown) { fatalCountdown = 60; fatalReloadTimer = setTimeout(function() {