summaryrefslogtreecommitdiff
path: root/js/CommonFilters.js
diff options
context:
space:
mode:
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");