diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-12-17 16:56:41 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-17 16:56:41 +0000 |
commit | 41022eff3cee711643ca3e3f4d1fa19b1aa0e825 (patch) | |
tree | 0df23de7dab64d1d045cb9c84de49a6693f0da0d | |
parent | de3ffd985f04908d86de1fc55ba00179b26930b1 (diff) | |
parent | fb18e071e508fd5d569ed63d29bc79211605007b (diff) | |
download | rspamd-41022eff3cee711643ca3e3f4d1fa19b1aa0e825.tar.gz rspamd-41022eff3cee711643ca3e3f4d1fa19b1aa0e825.zip |
Merge pull request #2685 from chmoelders/fix/learn-rspamd-upload-text-js-response-issue
Closes: #2684
-rw-r--r-- | interface/js/app/upload.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/interface/js/app/upload.js b/interface/js/app/upload.js index f5a5cf73f..466d5d25e 100644 --- a/interface/js/app/upload.js +++ b/interface/js/app/upload.js @@ -52,7 +52,7 @@ define(["jquery"], headers: headers, success: function (json) { cleanTextUpload(source); - if (json[0].data.success) { + if (json[0].status === true) { rspamd.alertMessage("alert-success", "Data successfully uploaded"); } } |