]> git.wh0rd.org - tt-rss.git/blobdiff - js/feedlist.js
css cleanup; remove auxDlg; add separate prefs.css
[tt-rss.git] / js / feedlist.js
index ae4c3a2fb6aafbf4c435d8717414ef5649d4c84e..ec3b09dabb24552a34a8e9a588b9900527996be6 100644 (file)
@@ -88,8 +88,6 @@ function viewfeed(feed, method, is_cat, offset, background, infscroll_req) {
 
                                _infscroll_request_sent = timestamp;
                        }
-
-                       hideAuxDlg();
                }
 
                Form.enable("main_toolbar_form");
@@ -125,11 +123,9 @@ function viewfeed(feed, method, is_cat, offset, background, infscroll_req) {
 
                        Form.enable("main_toolbar_form");
 
-                       if (!offset) {
-                               if (!setFeedExpandoIcon(feed, is_cat,
-                                                       (is_cat) ? 'images/indicator_tiny.gif' : 'images/indicator_white.gif'))
+                       if (!setFeedExpandoIcon(feed, is_cat,
+                               (is_cat) ? 'images/indicator_tiny.gif' : 'images/indicator_white.gif'))
                                        notify_progress("Loading, please wait...", true);
-                       }
                }
 
                query += "&cat=" + is_cat;
@@ -208,23 +204,6 @@ function request_counters(force) {
        }
 }
 
-function displayNewContentPrompt(id) {
-       try {
-
-               var msg = "<a href='#' onclick='viewCurrentFeed()'>" +
-                       __("New articles available in this feed (click to show)") + "</a>";
-
-               msg = msg.replace("%s", getFeedName(id));
-
-               $('auxDlg').innerHTML = msg;
-
-               new Effect.Appear('auxDlg', {duration : 0.5});
-
-       } catch (e) {
-               exception_error("displayNewContentPrompt", e);
-       }
-}
-
 function parse_counters(elems, scheduled_call) {
        try {
                for (var l = 0; l < elems.length; l++) {
@@ -247,10 +226,6 @@ function parse_counters(elems, scheduled_call) {
                                continue;
                        }
 
-                       if (id == getActiveFeedId() && ctr > getFeedUnread(id) && scheduled_call) {
-                               displayNewContentPrompt(id);
-                       }
-
                        if (getFeedUnread(id, (kind == "cat")) != ctr ||
                                        (kind == "cat")) {
                        }
@@ -515,3 +490,5 @@ function decrementFeedCounter(feed, is_cat) {
                exception_error("decrement_feed_counter", e);
        }
 }
+
+