From: Alexander Moisseev Date: Wed, 30 Nov 2016 15:56:48 +0000 (+0300) Subject: [WebUI] Load graph data on reconnect if the tab is active X-Git-Tag: 1.4.2~21^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1a9f55ce1280ee83a9e4c0ca1a4c2650cf7634bc;p=rspamd.git [WebUI] Load graph data on reconnect if the tab is active --- 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(); }