From: Andrew Dolgov Date: Thu, 18 Jun 2015 12:58:09 +0000 (+0300) Subject: bayes: add loading message X-Git-Tag: 16.3~279 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=0f037312a0fb3ab910fe2880cbcc35972ca9e694;p=tt-rss.git bayes: add loading message --- diff --git a/plugins/af_sort_bayes/init.js b/plugins/af_sort_bayes/init.js index 6b8dcf78..461cdc7f 100644 --- a/plugins/af_sort_bayes/init.js +++ b/plugins/af_sort_bayes/init.js @@ -6,6 +6,8 @@ function bayesTrain(id, train_up, event) { var query = "backend.php?op=pluginhandler&plugin=af_sort_bayes&method=trainArticle&article_id=" + param_escape(id) + "&train_up=" + param_escape(train_up); + notify_progress("Loading, please wait..."); + new Ajax.Request("backend.php", { parameters: query, onComplete: function(transport) {