1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 20:45:55 +00:00

trgm: add basic related stories dialog

This commit is contained in:
Andrew Dolgov
2015-01-19 15:46:15 +03:00
parent 7ebb2daf91
commit f52879fed5
3 changed files with 46 additions and 18 deletions

View File

@@ -3,11 +3,11 @@ function showTrgmRelated(id) {
var query = "backend.php?op=pluginhandler&plugin=af_psql_trgm&method=showrelated&param=" + param_escape(id);
if (dijit.byId("editNoteDlg"))
dijit.byId("editNoteDlg").destroyRecursive();
if (dijit.byId("trgmRelatedDlg"))
dijit.byId("trgmRelatedDlg").destroyRecursive();
dialog = new dijit.Dialog({
id: "editNoteDlg",
id: "trgmRelatedDlg",
title: __("Related articles"),
style: "width: 600px",
execute: function() {