mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-15 17:45:56 +00:00
more notify() integration
This commit is contained in:
@@ -152,7 +152,7 @@
|
|||||||
|
|
||||||
print "<table class=\"headlines\" width=\"100%\">";
|
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>";
|
Search: <input onchange=\"javascript:search($feed,this);\"></td></tr>";
|
||||||
print "<tr><td colspan=\"3\" class=\"title\">" . $line["title"] . "</td></tr>";
|
print "<tr><td colspan=\"3\" class=\"title\">" . $line["title"] . "</td></tr>";
|
||||||
|
|
||||||
|
|||||||
11
tt-rss.js
11
tt-rss.js
@@ -68,7 +68,10 @@ function viewfeed_callback() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
notify("");
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function view_callback() {
|
function view_callback() {
|
||||||
@@ -109,14 +112,16 @@ function catchupAllFeeds() {
|
|||||||
|
|
||||||
function viewfeed(feed, skip, subop) {
|
function viewfeed(feed, skip, subop) {
|
||||||
|
|
||||||
document.getElementById('headlines').innerHTML='Loading headlines, please wait...';
|
// document.getElementById('headlines').innerHTML='Loading headlines, please wait...';
|
||||||
document.getElementById('content').innerHTML=' ';
|
// document.getElementById('content').innerHTML=' ';
|
||||||
|
|
||||||
xmlhttp.open("GET", "backend.php?op=viewfeed&feed=" + param_escape(feed) +
|
xmlhttp.open("GET", "backend.php?op=viewfeed&feed=" + param_escape(feed) +
|
||||||
"&skip=" + param_escape(skip) + "&subop=" + param_escape(subop) , true);
|
"&skip=" + param_escape(skip) + "&subop=" + param_escape(subop) , true);
|
||||||
xmlhttp.onreadystatechange=viewfeed_callback;
|
xmlhttp.onreadystatechange=viewfeed_callback;
|
||||||
xmlhttp.send(null);
|
xmlhttp.send(null);
|
||||||
|
|
||||||
|
notify("Loading headlines...");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function view(id,feed_id) {
|
function view(id,feed_id) {
|
||||||
|
|||||||
Reference in New Issue
Block a user