1
0
mirror of https://tt-rss.org/git/tt-rss.git synced 2024-06-29 12:20:51 +02:00
ttrss/plugins/af_psql_trgm/init.js

22 lines
456 B
JavaScript
Raw Normal View History

Plugins.Psql_Trgm = {
showRelated: function (id) {
const query = "backend.php?op=pluginhandler&plugin=af_psql_trgm&method=showrelated&param=" + encodeURIComponent(id);
2015-01-19 13:46:15 +01:00
if (dijit.byId("trgmRelatedDlg"))
dijit.byId("trgmRelatedDlg").destroyRecursive();
dialog = new dijit.Dialog({
2015-01-19 13:46:15 +01:00
id: "trgmRelatedDlg",
title: __("Related articles"),
style: "width: 600px",
execute: function () {
},
href: query,
});
dialog.show();
}
};