diff options
author | Andrew Dolgov <[email protected]> | 2021-02-17 21:44:21 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-02-17 21:44:21 +0300 |
commit | e4609c18efceebb1e021d814f53061ada7f6489a (patch) | |
tree | 0968e0da3dc2d1b4cdc12c2a29549c27dc82ea14 /plugins/af_readability/init.js | |
parent | b16abc157ee584f4be80a537ee24ec9e5ff25496 (diff) |
* 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
Diffstat (limited to 'plugins/af_readability/init.js')
-rw-r--r-- | plugins/af_readability/init.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/af_readability/init.js b/plugins/af_readability/init.js index 3155475cc..ff2d94e8b 100644 --- a/plugins/af_readability/init.js +++ b/plugins/af_readability/init.js @@ -16,7 +16,7 @@ Plugins.Af_Readability = { Notify.progress("Loading, please wait..."); - xhrJson("backend.php",{ op: "pluginhandler", plugin: "af_readability", method: "embed", param: id }, (reply) => { + xhrJson("backend.php", App.getPhArgs("af_readability", "embed", {id: id}), (reply) => { if (content && reply.content) { content.setAttribute(self.orig_attr_name, content.innerHTML); |