From 6b43b788d909ce20f07f29f9f3ccd2f6a8715616 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 19 Feb 2021 10:22:00 +0300 Subject: migrate xhrJson invocations to the new helper --- plugins/mail/mail.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/mail/mail.js') 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']; -- cgit v1.2.3