mirror of
https://tt-rss.org/git/tt-rss.git
synced 2024-07-02 12:50:52 +02:00
* remove hardcoded width from most dialogs (move to css) * add helper to easily get dialog from its widget * rework some dialog buttons to use current object instead of calling dialog by name
19 lines
361 B
JavaScript
19 lines
361 B
JavaScript
/* global dijit, Plugins, __ */
|
|
|
|
Plugins.Psql_Trgm = {
|
|
showRelated: function (id) {
|
|
const query = "backend.php?op=pluginhandler&plugin=af_psql_trgm&method=showrelated¶m=" + encodeURIComponent(id);
|
|
|
|
const dialog = new dijit.Dialog({
|
|
title: __("Related articles"),
|
|
execute: function () {
|
|
//
|
|
},
|
|
href: query,
|
|
});
|
|
|
|
dialog.show();
|
|
}
|
|
};
|
|
|