summaryrefslogtreecommitdiff
path: root/js/CommonFilters.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-02-19 11:28:14 +0300
committerAndrew Dolgov <[email protected]>2021-02-19 11:28:14 +0300
commitbb4e4282f46824308aebc2eaeac29fa29f8687ad (patch)
tree8355547f2cf4baefc4a41146d27dcbd3240f724a /js/CommonFilters.js
parent6b43b788d909ce20f07f29f9f3ccd2f6a8715616 (diff)
migrate a bunch of xhrPost invocations
Diffstat (limited to 'js/CommonFilters.js')
-rw-r--r--js/CommonFilters.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/CommonFilters.js b/js/CommonFilters.js
index 3fa100b9e..9cc93d7b8 100644
--- a/js/CommonFilters.js
+++ b/js/CommonFilters.js
@@ -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");