diff options
author | Andrew Dolgov <[email protected]> | 2006-09-28 13:00:03 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2006-09-28 13:00:03 +0100 |
commit | 6b4163cb464534e827b4282f84541d86c8e19ec5 (patch) | |
tree | ebd893ba5c618d5a4ee6c20bc27e5d604d900122 /tt-rss.js | |
parent | 1f64b1be201ee9b23ea52e4021bc5264697dc5b5 (diff) |
css-based layout + required fixes
Diffstat (limited to 'tt-rss.js')
-rw-r--r-- | tt-rss.js | 23 |
1 files changed, 18 insertions, 5 deletions
@@ -222,9 +222,20 @@ function updateFeedList(silent, fetch) { if (fetch) query_str = query_str + "&fetch=yes"; - var feeds_frame = document.getElementById("feeds-frame"); +// var feeds_frame = document.getElementById("feeds-frame"); +// feeds_frame.src = query_str; + + debug("updateFeedList"); + + if (xmlhttp_ready(xmlhttp)) { + xmlhttp.open("GET", query_str, true); + xmlhttp.onreadystatechange=feedlist_callback; + xmlhttp.send(null); + } else { + debug("xmlhttp busy"); + //printLockingError(); + } - feeds_frame.src = query_str; } function catchupAllFeeds() { @@ -382,9 +393,11 @@ function resize_feeds_frame() { if (th) { header_height = th.scrollHeight; } - - f.style.height = document.body.scrollHeight - footer_height - - header_height - 50 + "px"; + + if (f) { + f.style.height = document.body.scrollHeight - footer_height - + header_height - 50 + "px"; + } } function init_second_stage() { |