summaryrefslogtreecommitdiff
path: root/js/CommonFilters.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2018-12-02 20:07:57 +0300
committerAndrew Dolgov <[email protected]>2018-12-02 20:07:57 +0300
commitd9c5c93cef313127b9b5010fbe279fdbddedadec (patch)
tree3a1838a1d9e9ff80bbbd57cd7b09b940f6ea4095 /js/CommonFilters.js
parentad1b6f0a8618ed214001e90c0e5db380758a6c84 (diff)
move some more stuff out of common.js
rework client-side cookie functions a bit limit dojo cachebust based on server scripts modification time remove param_escape()
Diffstat (limited to 'js/CommonFilters.js')
-rw-r--r--js/CommonFilters.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/CommonFilters.js b/js/CommonFilters.js
index 3f508ef71..ef087b50c 100644
--- a/js/CommonFilters.js
+++ b/js/CommonFilters.js
@@ -126,7 +126,7 @@ define(["dojo/_base/declare"], function (declare) {
dijit.byId("filterNewRuleDlg").destroyRecursive();
const query = "backend.php?op=pref-filters&method=newrule&rule=" +
- param_escape(ruleStr);
+ encodeURIComponent(ruleStr);
const rule_dlg = new dijit.Dialog({
id: "filterNewRuleDlg",
@@ -148,7 +148,7 @@ define(["dojo/_base/declare"], function (declare) {
dijit.byId("filterNewActionDlg").destroyRecursive();
const query = "backend.php?op=pref-filters&method=newaction&action=" +
- param_escape(actionStr);
+ encodeURIComponent(actionStr);
const rule_dlg = new dijit.Dialog({
id: "filterNewActionDlg",