mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 08:45:56 +00:00
trgm: add disabled for now button part (add missing files)
This commit is contained in:
BIN
plugins/af_psql_trgm/button.png
Normal file
BIN
plugins/af_psql_trgm/button.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 523 B |
25
plugins/af_psql_trgm/init.js
Normal file
25
plugins/af_psql_trgm/init.js
Normal file
@@ -0,0 +1,25 @@
|
||||
function showTrgmRelated(id) {
|
||||
try {
|
||||
|
||||
var query = "backend.php?op=pluginhandler&plugin=af_psql_trgm&method=showrelated¶m=" + param_escape(id);
|
||||
|
||||
if (dijit.byId("editNoteDlg"))
|
||||
dijit.byId("editNoteDlg").destroyRecursive();
|
||||
|
||||
dialog = new dijit.Dialog({
|
||||
id: "editNoteDlg",
|
||||
title: __("Related articles"),
|
||||
style: "width: 600px",
|
||||
execute: function() {
|
||||
|
||||
},
|
||||
href: query,
|
||||
});
|
||||
|
||||
dialog.show();
|
||||
|
||||
} catch (e) {
|
||||
exception_error("showTrgmRelated", e);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user