]>
Commit | Line | Data |
---|---|---|
7ebb2daf AD |
1 | function showTrgmRelated(id) { |
2 | try { | |
3 | ||
4 | var query = "backend.php?op=pluginhandler&plugin=af_psql_trgm&method=showrelated¶m=" + param_escape(id); | |
5 | ||
f52879fe AD |
6 | if (dijit.byId("trgmRelatedDlg")) |
7 | dijit.byId("trgmRelatedDlg").destroyRecursive(); | |
7ebb2daf AD |
8 | |
9 | dialog = new dijit.Dialog({ | |
f52879fe | 10 | id: "trgmRelatedDlg", |
7ebb2daf AD |
11 | title: __("Related articles"), |
12 | style: "width: 600px", | |
13 | execute: function() { | |
14 | ||
15 | }, | |
16 | href: query, | |
17 | }); | |
18 | ||
19 | dialog.show(); | |
20 | ||
21 | } catch (e) { | |
22 | exception_error("showTrgmRelated", e); | |
23 | } | |
24 | } | |
25 |