2021-02-12 06:02:44 +00:00
|
|
|
/* global dijit, Plugins, __ */
|
|
|
|
|
2018-12-03 07:51:14 +00:00
|
|
|
Plugins.Psql_Trgm = {
|
|
|
|
showRelated: function (id) {
|
2018-12-02 17:07:57 +00:00
|
|
|
const query = "backend.php?op=pluginhandler&plugin=af_psql_trgm&method=showrelated¶m=" + encodeURIComponent(id);
|
2015-01-19 12:12:40 +00:00
|
|
|
|
2021-02-12 06:02:44 +00:00
|
|
|
const dialog = new dijit.Dialog({
|
2015-01-19 12:12:40 +00:00
|
|
|
title: __("Related articles"),
|
2018-12-03 07:51:14 +00:00
|
|
|
execute: function () {
|
2021-02-12 06:02:44 +00:00
|
|
|
//
|
2015-01-19 12:12:40 +00:00
|
|
|
},
|
|
|
|
href: query,
|
|
|
|
});
|
|
|
|
|
|
|
|
dialog.show();
|
|
|
|
}
|
2018-12-03 07:51:14 +00:00
|
|
|
};
|
2015-01-19 12:12:40 +00:00
|
|
|
|