mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 01:05:55 +00:00
migrate a bunch of xhrPost invocations
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
/* eslint-disable no-new */
|
||||
|
||||
/* global __, App, Article, Lists, fox */
|
||||
/* global xhrPost, dojo, dijit, Notify, Feeds */
|
||||
/* global xhr, dojo, dijit, Notify, Feeds */
|
||||
|
||||
const Filters = {
|
||||
filterDlgCheckAction: function(sender) {
|
||||
@@ -275,7 +275,7 @@ const Filters = {
|
||||
|
||||
const query = {op: "pref-filters", method: "remove", ids: this.attr('value').id};
|
||||
|
||||
xhrPost("backend.php", query, () => {
|
||||
xhr.post("backend.php", query, () => {
|
||||
const tree = dijit.byId("filterTree");
|
||||
|
||||
if (tree) tree.reload();
|
||||
@@ -303,7 +303,7 @@ const Filters = {
|
||||
|
||||
Notify.progress("Saving data...", true);
|
||||
|
||||
xhrPost("backend.php", this.attr('value'), () => {
|
||||
xhr.post("backend.php", this.attr('value'), () => {
|
||||
dialog.hide();
|
||||
|
||||
const tree = dijit.byId("filterTree");
|
||||
|
||||
Reference in New Issue
Block a user