From e4609c18efceebb1e021d814f53061ada7f6489a Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 17 Feb 2021 21:44:21 +0300 Subject: * add (disabled) shortcut syntax for plugin methods * add controls shortcut for pluginhandler tags * add similar shortcut for frontend * allow plugins to selectively exclude their methods from CSRF checking --- plugins/mail/mail.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/mail/mail.js') diff --git a/plugins/mail/mail.js b/plugins/mail/mail.js index 4cdf6999d..36b0baac5 100644 --- a/plugins/mail/mail.js +++ b/plugins/mail/mail.js @@ -38,7 +38,7 @@ Plugins.Mail = { const tmph = dojo.connect(dialog, 'onShow', function () { dojo.disconnect(tmph); - xhrPost("backend.php", {op: "pluginhandler", plugin: "mail", method: "emailArticle", ids: id}, (transport) => { + xhrPost("backend.php", App.getPhArgs("mail", "emailArticle", {ids: id}), (transport) => { dialog.attr('content', transport.responseText); }); }); -- cgit v1.2.3