]> git.wh0rd.org - tt-rss.git/commitdiff
unsubscribeFeed: call updateFeedList() when unsubscribing from labels
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Thu, 28 Feb 2013 16:09:25 +0000 (20:09 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Thu, 28 Feb 2013 16:09:25 +0000 (20:09 +0400)
js/functions.js

index be12d257aab85bc149e9e80826b76d18a1df8a2f..72f72ddaa405dab23439e223cf8c433349cc9fd8 100644 (file)
@@ -1274,6 +1274,8 @@ function unsubscribeFeed(feed_id, title) {
                                        } else {
                                                if (feed_id == getActiveFeedId())
                                                        setTimeout("viewfeed(-5)", 100);
+
+                                               if (feed_id < 0) updateFeedList();
                                        }
 
                                } });