diff options
author | Andrew Dolgov <[email protected]> | 2015-01-19 15:12:40 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2015-01-19 15:12:40 +0300 |
commit | 7ebb2daf91e145e5e037af3b830a2a65b3edcd0d (patch) | |
tree | 6dc66d48757aef8d227acda4e84de5274a6ec34b /plugins/af_psql_trgm/init.js | |
parent | 167fb03f3e94d8a86c986e262952a6e124c12470 (diff) |
trgm: add disabled for now button part (add missing files)
Diffstat (limited to 'plugins/af_psql_trgm/init.js')
-rw-r--r-- | plugins/af_psql_trgm/init.js | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/plugins/af_psql_trgm/init.js b/plugins/af_psql_trgm/init.js new file mode 100644 index 000000000..8affb72d4 --- /dev/null +++ b/plugins/af_psql_trgm/init.js @@ -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); + } +} + |