From 0f037312a0fb3ab910fe2880cbcc35972ca9e694 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 18 Jun 2015 15:58:09 +0300 Subject: [PATCH] bayes: add loading message --- plugins/af_sort_bayes/init.js | 2 ++ 1 file changed, 2 insertions(+) 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) {