diff options
Diffstat (limited to 'interface/js/app/rspamd.js')
-rw-r--r-- | interface/js/app/rspamd.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/interface/js/app/rspamd.js b/interface/js/app/rspamd.js index 29bbfbcf1..b0b2c4568 100644 --- a/interface/js/app/rspamd.js +++ b/interface/js/app/rspamd.js @@ -219,11 +219,11 @@ function ($, D3pie, visibility, NProgress, tab_stat, tab_graph, tab_config, errorMessage(); } }, - complete: function () { + complete: function (jqXHR) { if (neighbours_status.every(function (elt) { return elt.checked; })) { if (neighbours_status.some(function (elt) { return elt.status; })) { if (o.success) { - o.success(neighbours_status); + o.success(neighbours_status, jqXHR); } else { alertMessage("alert-success", "Request completed"); } |