]> git.wh0rd.org Git - tt-rss.git/commitdiff
parse_counters(): fix bug in marking feed with error updates
authorAndrew Dolgov <fox@madoka.spb.ru>
Mon, 19 Dec 2005 05:44:05 +0000 (06:44 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Mon, 19 Dec 2005 05:44:05 +0000 (06:44 +0100)
functions.js
tt-rss.css

index 9193d9b7ba777e4874f9909aba5f6481bf88a04d..e27beac288e2f5915a7e550c0502ffec61db6627 100644 (file)
@@ -387,18 +387,10 @@ function parse_counters(reply, f_document) {
                
                                feedu.innerHTML = ctr;
 
-                               if (has_img && feed_img) {
-                                       if (error) {
-//                                             feed_img.src = "images/update_error.png";
-                                               feedr.className = feedr.className.replace("feed", "error");
-                                       } else if (id > 0) {
-                                               feedr.className = feedr.className.replace("error", "feed");
-//                                             if (has_img) {
-//                                                     feed_img.src = getCookie("ttrss_icons_url") + "/" + id + ".ico";
-//                                             } else {
-//                                                     feed_img.src = "images/blank_icon.gif";
-//                                             }
-                                       }
+                               if (error) {
+                                       feedr.className = feedr.className.replace("feed", "error");
+                               } else if (id > 0) {
+                                       feedr.className = feedr.className.replace("error", "feed");
                                }
        
                                if (ctr > 0) {                                  
index 8ab9ef2917c166c5541c5b03e0ac01926f54175e..584c41b3561a1565aac3088cb99770887e0e98a1 100644 (file)
@@ -225,6 +225,7 @@ ul.feedlist li.tagUnread {
 }
 
 ul.feedlist li.errorSelected a,
+ul.feedlist li.error a,
 ul.feedlist li.errorUnread a,
 ul.feedlist li.errorUnreadSelected a {
        color : #f04040;