aboutsummaryrefslogtreecommitdiffstats
path: root/interface/js/app
diff options
context:
space:
mode:
authorAlexander Moisseev <moiseev@mezonplus.ru>2018-07-22 18:24:58 +0300
committerAlexander Moisseev <moiseev@mezonplus.ru>2018-07-22 18:24:58 +0300
commit1881cb7ba2d4007721871aeb2e23b6d112012241 (patch)
tree4abe2296fc158c7d7c762aa4b69dbe92141df1af /interface/js/app
parentb849ea8936bc96f488c78a155f8ca06227cae629 (diff)
downloadrspamd-1881cb7ba2d4007721871aeb2e23b6d112012241.tar.gz
rspamd-1881cb7ba2d4007721871aeb2e23b6d112012241.zip
[WebUI] Unify arguments of query functions
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());