]> source.dussan.org Git - rspamd.git/commitdiff
[WebUI] Unify arguments of query functions
authorAlexander Moisseev <moiseev@mezonplus.ru>
Sun, 22 Jul 2018 15:24:58 +0000 (18:24 +0300)
committerAlexander Moisseev <moiseev@mezonplus.ru>
Sun, 22 Jul 2018 15:24:58 +0000 (18:24 +0300)
interface/js/app/rspamd.js

index 2d82a99c78f86937b1bb5ad7e636d688e6c94ade..7db62cfd6f0b2ebec4f7e51e80ef326b78a635da 100644 (file)
@@ -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());