From 1a9f55ce1280ee83a9e4c0ca1a4c2650cf7634bc Mon Sep 17 00:00:00 2001 From: Alexander Moisseev Date: Wed, 30 Nov 2016 18:56:48 +0300 Subject: [PATCH] [WebUI] Load graph data on reconnect if the tab is active --- interface/js/rspamd.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/interface/js/rspamd.js b/interface/js/rspamd.js index 15b64d213..40a9799e6 100644 --- a/interface/js/rspamd.js +++ b/interface/js/rspamd.js @@ -1224,6 +1224,10 @@ getChart(); initGraph(); + if ($("#throughput_nav").attr("aria-expanded") === "true") { + getGraphData(selected.selData); + } + $('#progress').hide(); $(disconnect).show(); } -- 2.39.5