1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-15 22:26:00 +00:00

css-based layout + required fixes

This commit is contained in:
Andrew Dolgov
2006-09-28 13:00:03 +01:00
parent 1f64b1be20
commit 6b4163cb46
8 changed files with 305 additions and 272 deletions

View File

@@ -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() {