ttrss/plugins/af_psql_trgm/init.js

26 lines
492 B
JavaScript
Raw Normal View History

function showTrgmRelated(id) {
try {
2018-11-30 05:39:45 +00:00
const query = "backend.php?op=pluginhandler&plugin=af_psql_trgm&method=showrelated&param=" + param_escape(id);
2015-01-19 12:46:15 +00:00
if (dijit.byId("trgmRelatedDlg"))
dijit.byId("trgmRelatedDlg").destroyRecursive();
dialog = new dijit.Dialog({
2015-01-19 12:46:15 +00:00
id: "trgmRelatedDlg",
title: __("Related articles"),
style: "width: 600px",
execute: function() {
},
href: query,
});
dialog.show();
} catch (e) {
exception_error("showTrgmRelated", e);
}
}