more notify() integration

master
Andrew Dolgov 20 years ago
parent 476cac422f
commit 1c37c607df

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

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

Loading…
Cancel
Save