summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2005-08-22 10:27:32 +0100
committerAndrew Dolgov <[email protected]>2005-08-22 10:27:32 +0100
commit1c37c607df0a158fff6276a124299fa0cf8fc362 (patch)
tree54ecea8842acbfffa649ebd030638f35be5b4eb6
parent476cac422f49d08d2278891f4f3d4b60c69d7ff1 (diff)
more notify() integration
-rw-r--r--backend.php2
-rw-r--r--tt-rss.js11
2 files changed, 9 insertions, 4 deletions
diff --git a/backend.php b/backend.php
index 0ff9793ad..c9ca89053 100644
--- a/backend.php
+++ b/backend.php
@@ -152,7 +152,7 @@
print "<table class=\"headlines\" width=\"100%\">";
- print "<tr><td class=\"search\" colspan=\"2\">
+ print "<tr><td class=\"search\" colspan=\"3\">
Search: <input onchange=\"javascript:search($feed,this);\"></td></tr>";
print "<tr><td colspan=\"3\" class=\"title\">" . $line["title"] . "</td></tr>";
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='&nbsp;';
+// document.getElementById('headlines').innerHTML='Loading headlines, please wait...';
+// document.getElementById('content').innerHTML='&nbsp;';
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) {