mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-16 00:15:57 +00:00
add basic classifier information window
This commit is contained in:
@@ -57,3 +57,25 @@ function bayesUpdateUI() {
|
||||
exception_error("showTrgmRelated", e);
|
||||
}
|
||||
}
|
||||
|
||||
function bayesShow(id) {
|
||||
try {
|
||||
if (dijit.byId("bayesShowDlg"))
|
||||
dijit.byId("bayesShowDlg").destroyRecursive();
|
||||
|
||||
var query = "backend.php?op=pluginhandler&plugin=af_sort_bayes&method=showArticleStats&article_id=" + param_escape(id);
|
||||
|
||||
dialog = new dijit.Dialog({
|
||||
id: "bayesShowDlg",
|
||||
title: __("Classifier information"),
|
||||
style: "width: 600px",
|
||||
href: query});
|
||||
|
||||
dialog.show();
|
||||
|
||||
} catch (e) {
|
||||
exception_error("shareArticle", e);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user