]> git.wh0rd.org - tt-rss.git/blob - plugins/af_psql_trgm/init.js
plugins: run eslint const/let fixes
[tt-rss.git] / plugins / af_psql_trgm / init.js
1 function showTrgmRelated(id) {
2 try {
3
4 const query = "backend.php?op=pluginhandler&plugin=af_psql_trgm&method=showrelated&param=" + param_escape(id);
5
6 if (dijit.byId("trgmRelatedDlg"))
7 dijit.byId("trgmRelatedDlg").destroyRecursive();
8
9 dialog = new dijit.Dialog({
10 id: "trgmRelatedDlg",
11 title: __("Related articles"),
12 style: "width: 600px",
13 execute: function() {
14
15 },
16 href: query,
17 });
18
19 dialog.show();
20
21 } catch (e) {
22 exception_error("showTrgmRelated", e);
23 }
24 }
25