aboutsummaryrefslogtreecommitdiffstats
path: root/interface/js
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-07-01 17:37:13 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-07-01 17:37:13 +0100
commit68b4e302b071f3cc2a24af83fe6d92ea27a2815f (patch)
tree2b3949e37204637062da1da9018f6b8036c5d5b4 /interface/js
parent530d64a5a04a6becd0254c58124a5521c538c77e (diff)
downloadrspamd-68b4e302b071f3cc2a24af83fe6d92ea27a2815f.tar.gz
rspamd-68b4e302b071f3cc2a24af83fe6d92ea27a2815f.zip
[WebUI] Enable throughput graph show
Diffstat (limited to 'interface/js')
-rw-r--r--interface/js/rspamd.js4
1 files changed, 2 insertions, 2 deletions
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());
},