aboutsummaryrefslogtreecommitdiffstats
path: root/interface/js/app
diff options
context:
space:
mode:
Diffstat (limited to 'interface/js/app')
-rw-r--r--interface/js/app/rspamd.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/interface/js/app/rspamd.js b/interface/js/app/rspamd.js
index 2d82a99c7..7db62cfd6 100644
--- a/interface/js/app/rspamd.js
+++ b/interface/js/app/rspamd.js
@@ -313,10 +313,11 @@ function ($, d3pie, visibility, tab_stat, tab_graph, tab_config,
});
};
- ui.queryLocal = function (req_url, on_success, on_error, method, headers, params) {
+ ui.queryLocal = function (req_url, on_success, on_error, method, headers, params, req_data) {
var req_params = {
type: method,
jsonp: false,
+ data: req_data,
beforeSend: function (xhr) {
xhr.setRequestHeader("Password", getPassword());