From d9c5c93cef313127b9b5010fbe279fdbddedadec Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 2 Dec 2018 20:07:57 +0300 Subject: 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() --- plugins/note/note.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/note') diff --git a/plugins/note/note.js b/plugins/note/note.js index ea0094078..c1f317b52 100644 --- a/plugins/note/note.js +++ b/plugins/note/note.js @@ -1,7 +1,7 @@ function editArticleNote(id) { try { - var query = "backend.php?op=pluginhandler&plugin=note&method=edit¶m=" + param_escape(id); + var query = "backend.php?op=pluginhandler&plugin=note&method=edit¶m=" + encodeURIComponent(id); if (dijit.byId("editNoteDlg")) dijit.byId("editNoteDlg").destroyRecursive(); -- cgit v1.2.3-54-g00ecf