bayes: add loading message

This commit is contained in:
Andrew Dolgov 2015-06-18 15:58:09 +03:00
parent 5b0cb9aa7f
commit 0f037312a0

View file

@ -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) {