summaryrefslogtreecommitdiff
path: root/tt-rss.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2006-09-28 13:00:03 +0100
committerAndrew Dolgov <[email protected]>2006-09-28 13:00:03 +0100
commit6b4163cb464534e827b4282f84541d86c8e19ec5 (patch)
treeebd893ba5c618d5a4ee6c20bc27e5d604d900122 /tt-rss.js
parent1f64b1be201ee9b23ea52e4021bc5264697dc5b5 (diff)
css-based layout + required fixes
Diffstat (limited to 'tt-rss.js')
-rw-r--r--tt-rss.js23
1 files changed, 18 insertions, 5 deletions
diff --git a/tt-rss.js b/tt-rss.js
index 597dd2fa4..bcbadcb52 100644
--- a/tt-rss.js
+++ b/tt-rss.js
@@ -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() {