]> git.wh0rd.org Git - tt-rss.git/commitdiff
setActiveFeedId: assign feed/is-cat attributes to headlines-frame
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Thu, 28 Mar 2013 15:20:12 +0000 (19:20 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Thu, 28 Mar 2013 15:20:12 +0000 (19:20 +0400)
js/tt-rss.js
tt-rss.css

index 6fdb8ff551f044812bd98dee0fbdb1af13750519..ae5815b68de0f41f6054184e969804660af92344 100644 (file)
@@ -36,6 +36,9 @@ function setActiveFeedId(id, is_cat) {
                _active_feed_id = id;
                _active_feed_is_cat = is_cat;
 
+               $("headlines-frame").setAttribute("feed-id", id);
+               $("headlines-frame").setAttribute("is-cat", is_cat ? 1 : 0);
+
                selectFeed(id, is_cat);
        } catch (e) {
                exception_error("setActiveFeedId", e);
index 5a260bd50cbdd0e38e918dbbbe09db98b9a76921..68b866b4dc45824e420e59ae67ef78796480d5b9 100644 (file)
@@ -1035,3 +1035,4 @@ body#ttrssZoom div.footer {
 select.attachments {
        display : block;
 }
+