diff options
author | Pavel Rochnyack <pavel2000@ngs.ru> | 2016-10-02 22:00:23 +0600 |
---|---|---|
committer | Pavel Rochnyack <pavel2000@ngs.ru> | 2016-10-02 22:00:23 +0600 |
commit | b514cd569fbeb9b1c72f5ca0db2230b68e51c712 (patch) | |
tree | 7c93e58bc30cb476a941744e1f385f937cdf925d /interface | |
parent | 6ba87a5ffae69c64e734fd56a60f8ae45e33eb79 (diff) | |
download | rspamd-b514cd569fbeb9b1c72f5ca0db2230b68e51c712.tar.gz rspamd-b514cd569fbeb9b1c72f5ca0db2230b68e51c712.zip |
WebUI: Add missing parameter to error handlers
Diffstat (limited to 'interface')
-rw-r--r-- | interface/js/rspamd.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/interface/js/rspamd.js b/interface/js/rspamd.js index 129afcc54..d4a1da70f 100644 --- a/interface/js/rspamd.js +++ b/interface/js/rspamd.js @@ -208,7 +208,7 @@ beforeSend: function (xhr) { xhr.setRequestHeader('Password', getPassword()); }, - error: function () { + error: function (data) { alertMessage('alert-modal alert-error', data.statusText); }, success: function (data) { @@ -959,7 +959,7 @@ success: function () { alertMessage('alert-success', 'Actions successfully saved'); }, - error: function () { + error: function (data) { alertMessage('alert-modal alert-error', data.statusText); } }); |