more notify() integration

This commit is contained in:
Andrew Dolgov 2005-08-22 10:27:32 +01:00
parent 476cac422f
commit 1c37c607df
2 changed files with 9 additions and 4 deletions

View File

@ -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>";

View File

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