From caa53a7cb1fb1a52daf561209ea4aaceb4578bfc Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 19 May 2006 03:58:00 +0100 Subject: [PATCH] remove backend/error msg calls on iframe init, recolor notify error --- functions.js | 4 ++-- tt-rss.js | 3 +++ tt-rss.php | 12 ++++-------- 3 files changed, 9 insertions(+), 10 deletions(-) diff --git a/functions.js b/functions.js index ef7910c71..3b5e64f70 100644 --- a/functions.js +++ b/functions.js @@ -111,8 +111,8 @@ function notify_real(msg, doc, no_hide, is_err) { } if (is_err) { - n.style.backgroundColor = "#ffaaaa"; - n.style.color = "white"; + n.style.backgroundColor = "#ffcccc"; + n.style.color = "black"; n.style.borderColor = "#ff0000"; } else { n.style.backgroundColor = "#fff7d5"; diff --git a/tt-rss.js b/tt-rss.js index 3faf59d4f..528a0000b 100644 --- a/tt-rss.js +++ b/tt-rss.js @@ -441,6 +441,9 @@ function init_second_stage() { // FIXME should be callled after window resize + var h = document.getElementById("headlines"); + var c = document.getElementById("content"); + if (navigator.userAgent.match("Opera")) { resize_feeds_frame(); diff --git a/tt-rss.php b/tt-rss.php index c4879ff7a..01f7ca5ba 100644 --- a/tt-rss.php +++ b/tt-rss.php @@ -135,8 +135,7 @@ window.onload = init; + id="feeds-frame" name="feeds-frame" class="feedsFrame"> @@ -251,22 +250,19 @@ window.onload = init; + id="headlines-frame" class="headlinesFrame"> + id="headlines-frame" class="headlinesFrame"> + id="content-frame" class="contentFrame">