diff options
author | Alexander Moisseev <moiseev@mezonplus.ru> | 2016-11-30 18:56:48 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-30 18:56:48 +0300 |
commit | 1a9f55ce1280ee83a9e4c0ca1a4c2650cf7634bc (patch) | |
tree | ecd9873d3301231cbe4dbe978e4a5df05f0062fc /interface | |
parent | cdecbbc8c5ef2c835e17ac6c3a4803459ee5fbd9 (diff) | |
download | rspamd-1a9f55ce1280ee83a9e4c0ca1a4c2650cf7634bc.tar.gz rspamd-1a9f55ce1280ee83a9e4c0ca1a4c2650cf7634bc.zip |
[WebUI] Load graph data on reconnect if the tab is active
Diffstat (limited to 'interface')
-rw-r--r-- | interface/js/rspamd.js | 4 |
1 files changed, 4 insertions, 0 deletions
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(); } |