diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-07-01 17:37:13 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-07-01 17:37:13 +0100 |
commit | 68b4e302b071f3cc2a24af83fe6d92ea27a2815f (patch) | |
tree | 2b3949e37204637062da1da9018f6b8036c5d5b4 /interface | |
parent | 530d64a5a04a6becd0254c58124a5521c538c77e (diff) | |
download | rspamd-68b4e302b071f3cc2a24af83fe6d92ea27a2815f.tar.gz rspamd-68b4e302b071f3cc2a24af83fe6d92ea27a2815f.zip |
[WebUI] Enable throughput graph show
Diffstat (limited to 'interface')
-rw-r--r-- | interface/index.html | 4 | ||||
-rw-r--r-- | interface/js/rspamd.js | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/interface/index.html b/interface/index.html index c121f69e1..70f3e987a 100644 --- a/interface/index.html +++ b/interface/index.html @@ -26,9 +26,9 @@ </ul> <ul class="nav navbar-nav nav-pills" role="tablist"> <li role="presentation" class="active"><a id="status_nav" aria-controls="status" role="tab" href="#status" data-toggle="tab">Status</a></li> -<!-- + <li role="presentation"><a id="throughput_nav" aria-controls="throughput" role="tab" href="#throughput" data-toggle="tab">Throughput</a></li> ---> + <li role="presentation"><a id="configuration_nav" aria-controls="configuration" role="tab" href="#configuration" data-toggle="tab">Configuration</a></li> <li role="presentation"><a id="learning_nav" aria-controls="learning" role="tab" href="#learning" data-toggle="tab">Learning</a></li> <li role="presentation"><a id="scan_nav"aria-controls="scan" role="tab" href="#scan" data-toggle="tab">Scan</a></li> diff --git a/interface/js/rspamd.js b/interface/js/rspamd.js index fbb798b5f..bf860b238 100644 --- a/interface/js/rspamd.js +++ b/interface/js/rspamd.js @@ -515,8 +515,8 @@ $.ajax({ dataType: 'json', type: 'GET', - url: 'graph?type=', - data: type, + url: 'graph', + data: {"type": type}, beforeSend: function (xhr) { xhr.setRequestHeader('Password', getPassword()); }, |