]> source.dussan.org Git - rspamd.git/commitdiff
[WebUI] Load graph data on reconnect if the tab is active 1211/head
authorAlexander Moisseev <moiseev@mezonplus.ru>
Wed, 30 Nov 2016 15:56:48 +0000 (18:56 +0300)
committerGitHub <noreply@github.com>
Wed, 30 Nov 2016 15:56:48 +0000 (18:56 +0300)
interface/js/rspamd.js

index 15b64d213af6e093d40c30d8224044658da063d8..40a9799e6e0695454797083670ccec710207772f 100644 (file)
 
             getChart();
             initGraph();
+            if ($("#throughput_nav").attr("aria-expanded") === "true") {
+                getGraphData(selected.selData);
+            }
+
             $('#progress').hide();
             $(disconnect).show();
         }