summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2006-05-19 03:58:00 +0100
committerAndrew Dolgov <[email protected]>2006-05-19 03:58:00 +0100
commitcaa53a7cb1fb1a52daf561209ea4aaceb4578bfc (patch)
tree3dc961f25fcfe5f6b47b897b17b72f782853687b
parentf3477b4056267d3ce041cbcb461ef07ce1ebddd1 (diff)
remove backend/error msg calls on iframe init, recolor notify error
-rw-r--r--functions.js4
-rw-r--r--tt-rss.js3
-rw-r--r--tt-rss.php12
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;
<tr><td height="100%" width="100%" valign="top">
<iframe frameborder="0"
- src="backend.php?op=error&msg=Loading,%20please wait..."
- id="feeds-frame" name="feeds-frame" class="feedsFrame"> </iframe>
+ id="feeds-frame" name="feeds-frame" class="feedsFrame"></iframe>
</td></tr></table>
@@ -251,22 +250,19 @@ window.onload = init;
<tr>
<td id="headlines" class="headlines2" valign="top">
<iframe frameborder="0" name="headlines-frame"
- id="headlines-frame" class="headlinesFrame"
- src="backend.php?op=error&msg=No%20feed%20selected."></iframe>
+ id="headlines-frame" class="headlinesFrame"></iframe>
</td>
</tr>
<? } else { ?>
<tr>
<td id="headlines" class="headlines" valign="top">
<iframe frameborder="0" name="headlines-frame"
- id="headlines-frame" class="headlinesFrame"
- src="backend.php?op=error&msg=No%20feed%20selected."></iframe>
+ id="headlines-frame" class="headlinesFrame"></iframe>
</td>
</tr><tr>
<td class="content" id="content" valign="top">
<iframe frameborder="0" name="content-frame"
- id="content-frame" class="contentFrame"
- src="backend.php?op=error&msg=No%20article%20selected."> </iframe>
+ id="content-frame" class="contentFrame"> </iframe>
</td>
</tr>
<? } ?>