From 1c37c607df0a158fff6276a124299fa0cf8fc362 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 22 Aug 2005 10:27:32 +0100 Subject: more notify() integration --- tt-rss.js | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'tt-rss.js') diff --git a/tt-rss.js b/tt-rss.js index d7959037d..788750afa 100644 --- a/tt-rss.js +++ b/tt-rss.js @@ -68,7 +68,10 @@ function viewfeed_callback() { } } - } + + notify(""); + + } } function view_callback() { @@ -109,14 +112,16 @@ function catchupAllFeeds() { function viewfeed(feed, skip, subop) { - document.getElementById('headlines').innerHTML='Loading headlines, please wait...'; - document.getElementById('content').innerHTML=' '; +// document.getElementById('headlines').innerHTML='Loading headlines, please wait...'; +// document.getElementById('content').innerHTML=' '; xmlhttp.open("GET", "backend.php?op=viewfeed&feed=" + param_escape(feed) + "&skip=" + param_escape(skip) + "&subop=" + param_escape(subop) , true); xmlhttp.onreadystatechange=viewfeed_callback; xmlhttp.send(null); + notify("Loading headlines..."); + } function view(id,feed_id) { -- cgit v1.2.3