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/init.php | |
parent | dba6dce3b332f1c7cfb60e3411c6b85c01be7471 (diff) |
migrate xhrJson invocations to the new helper
Diffstat (limited to 'plugins/mail/init.php')
-rw-r--r-- | plugins/mail/init.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mail/init.php b/plugins/mail/init.php index d96006b21..16e22f342 100644 --- a/plugins/mail/init.php +++ b/plugins/mail/init.php @@ -152,7 +152,7 @@ class Mail extends Plugin { <script type='dojo/method' event='onSubmit' args='evt'> evt.preventDefault(); if (this.validate()) { - xhrJson("backend.php", this.getValues(), (reply) => { + xhr.json("backend.php", this.getValues(), (reply) => { if (reply && reply.error) Notify.error(reply.error); else |