summaryrefslogtreecommitdiff
path: root/functions.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2006-06-06 07:51:00 +0100
committerAndrew Dolgov <[email protected]>2006-06-06 07:51:00 +0100
commit78d5212c0a3225b6fae106fee13e22c5b3e8fb46 (patch)
tree895116fee84243db513acbbc92fe0842e2170af9 /functions.js
parentcea51014f7e938dc9688d3370e5f2cdc3115a3ef (diff)
optionally show last update time in feedlist (EXTENDED_FEEDLIST) (closes #55)
Diffstat (limited to 'functions.js')
-rw-r--r--functions.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/functions.js b/functions.js
index d25670c41..8401a0ff3 100644
--- a/functions.js
+++ b/functions.js
@@ -510,6 +510,7 @@ function parse_counters(reply, scheduled_call) {
var feedr = f_document.getElementById("FEEDR-" + id);
var feed_img = f_document.getElementById("FIMG-" + id);
var feedlink = f_document.getElementById("FEEDL-" + id);
+ var feedupd = f_document.getElementById("FLUPD-" + id);
if (updated && feedlink) {
if (error) {
@@ -519,6 +520,14 @@ function parse_counters(reply, scheduled_call) {
}
}
+ if (updated && feedupd) {
+ if (error) {
+ feedupd.innerHTML = updated + " (Error)";
+ } else {
+ feedupd.innerHTML = updated;
+ }
+ }
+
if (feedctr && feedu && feedr) {
if (feedu.innerHTML != ctr && id == getActiveFeedId() && scheduled_call) {