diff options
author | Andrew Dolgov <[email protected]> | 2005-08-21 17:16:41 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2005-08-21 17:16:41 +0100 |
commit | ac53063ab9a0a2a13ea40cafd5e6e2b383976578 (patch) | |
tree | 9ce0d3295c76438884f17e9624a209e4ffa64487 /tt-rss.js | |
parent | 40d13c283683b15d7a5d40cfcd158dc84c440085 (diff) |
basic functionality pass 4
Diffstat (limited to 'tt-rss.js')
-rw-r--r-- | tt-rss.js | 18 |
1 files changed, 16 insertions, 2 deletions
@@ -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); } |