diff options
author | Andrew Dolgov <[email protected]> | 2021-02-19 10:22:00 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-02-19 10:22:00 +0300 |
commit | 6b43b788d909ce20f07f29f9f3ccd2f6a8715616 (patch) | |
tree | 1a2f08c9cb565f3d9eb95b884f3c3891685d04bd /plugins/mail/mail.js | |
parent | dba6dce3b332f1c7cfb60e3411c6b85c01be7471 (diff) |
migrate xhrJson invocations to the new helper
Diffstat (limited to 'plugins/mail/mail.js')
-rw-r--r-- | plugins/mail/mail.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mail/mail.js b/plugins/mail/mail.js index 36b0baac5..fc0898085 100644 --- a/plugins/mail/mail.js +++ b/plugins/mail/mail.js @@ -17,7 +17,7 @@ Plugins.Mail = { title: __("Forward article by email"), execute: function () { if (this.validate()) { - xhrJson("backend.php", this.attr('value'), (reply) => { + xhr.json("backend.php", this.attr('value'), (reply) => { if (reply) { const error = reply['error']; |