]> git.wh0rd.org Git - tt-rss.git/commitdiff
bayes: add loading message
authorAndrew Dolgov <noreply@madoka.volgo-balt.ru>
Thu, 18 Jun 2015 12:58:09 +0000 (15:58 +0300)
committerAndrew Dolgov <noreply@madoka.volgo-balt.ru>
Thu, 18 Jun 2015 12:58:09 +0000 (15:58 +0300)
plugins/af_sort_bayes/init.js

index 6b8dcf78a42efd6d4bad3e20cb44e14c4085af20..461cdc7f3a4de0ac013ac9fd2934d4ff92ce9814 100644 (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) {