mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-02-09 00:31:34 +00:00
migrate xhrJson invocations to the new helper
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user