From 1c37c607df0a158fff6276a124299fa0cf8fc362 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 22 Aug 2005 10:27:32 +0100 Subject: [PATCH] more notify() integration --- backend.php | 2 +- tt-rss.js | 11 ++++++++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/backend.php b/backend.php index 0ff9793a..c9ca8905 100644 --- a/backend.php +++ b/backend.php @@ -152,7 +152,7 @@ print ""; - print ""; print ""; diff --git a/tt-rss.js b/tt-rss.js index d7959037..788750af 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) { -- 2.39.5
+ print "
Search:
" . $line["title"] . "