From: Andrew Dolgov Date: Mon, 19 Jan 2015 12:12:40 +0000 (+0300) Subject: trgm: add disabled for now button part (add missing files) X-Git-Tag: 16.3~377 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=7ebb2daf91e145e5e037af3b830a2a65b3edcd0d;p=tt-rss.git trgm: add disabled for now button part (add missing files) --- diff --git a/plugins/af_psql_trgm/button.png b/plugins/af_psql_trgm/button.png new file mode 100644 index 00000000..9b3422c6 Binary files /dev/null and b/plugins/af_psql_trgm/button.png differ diff --git a/plugins/af_psql_trgm/init.js b/plugins/af_psql_trgm/init.js new file mode 100644 index 00000000..8affb72d --- /dev/null +++ b/plugins/af_psql_trgm/init.js @@ -0,0 +1,25 @@ +function showTrgmRelated(id) { + try { + + var query = "backend.php?op=pluginhandler&plugin=af_psql_trgm&method=showrelated¶m=" + param_escape(id); + + if (dijit.byId("editNoteDlg")) + dijit.byId("editNoteDlg").destroyRecursive(); + + dialog = new dijit.Dialog({ + id: "editNoteDlg", + title: __("Related articles"), + style: "width: 600px", + execute: function() { + + }, + href: query, + }); + + dialog.show(); + + } catch (e) { + exception_error("showTrgmRelated", e); + } +} +