summaryrefslogtreecommitdiff
path: root/js/PrefFilterTree.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2020-02-28 12:16:54 +0300
committerAndrew Dolgov <[email protected]>2020-02-28 12:16:54 +0300
commit8645f36c5b5044764af80d3fe325da6455ca2ed4 (patch)
tree95dfc295fa19736795320fbed3ae4052d7994d8c /js/PrefFilterTree.js
parent0eb3f1c3dc6ec0c8de27cbed61146b67df010fe8 (diff)
filter test dialog: pass contents via xhr POST
Diffstat (limited to 'js/PrefFilterTree.js')
-rw-r--r--js/PrefFilterTree.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/js/PrefFilterTree.js b/js/PrefFilterTree.js
index a7c7464fb..5fe0714c0 100644
--- a/js/PrefFilterTree.js
+++ b/js/PrefFilterTree.js
@@ -149,9 +149,7 @@ define(["dojo/_base/declare", "dojo/dom-construct", "lib/CheckBoxTree"], functio
style: "width: 600px",
test: function () {
- const query = "backend.php?" + dojo.formToQuery("filter_edit_form") + "&savemode=test";
-
- Filters.editFilterTest(query);
+ Filters.editFilterTest(dojo.formToObject("filter_edit_form"));
},
selectRules: function (select) {
Lists.select("filterDlg_Matches", select);