1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 17:15:55 +00:00

basic functionality pass 4

This commit is contained in:
Andrew Dolgov
2005-08-21 17:16:41 +01:00
parent 40d13c2836
commit ac53063ab9
6 changed files with 76 additions and 12 deletions

View File

@@ -144,7 +144,21 @@ function timeout() {
update_feed_list(true);
setTimeout("timeout()", 120*1000);
setTimeout("timeout()", 1800*1000);
}
function search(feed, sender) {
notify("Search: " + feed + ", " + sender.value)
document.getElementById('headlines').innerHTML='Loading headlines, please wait...';
document.getElementById('content').innerHTML=' ';
xmlhttp.open("GET", "backend.php?op=viewfeed&feed=" + param_escape(feed) +
"&search=" + param_escape(sender.value) + "&ext=SEARCH", true);
xmlhttp.onreadystatechange=viewfeed_callback;
xmlhttp.send(null);
}
@@ -154,6 +168,6 @@ function init() {
update_feed_list();
setTimeout("timeout()", 120*1000);
setTimeout("timeout()", 1800*1000);
}