From: Andrew Dolgov Date: Thu, 28 Mar 2013 15:20:12 +0000 (+0400) Subject: setActiveFeedId: assign feed/is-cat attributes to headlines-frame X-Git-Tag: 1.7.6~199 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=67b9d740ae14e13ea8d58ee452f9f3a3e8d46398;hp=bf6df2368da7e8b03f1bc0efdcdd69d26981cdab;p=tt-rss.git setActiveFeedId: assign feed/is-cat attributes to headlines-frame --- diff --git a/js/tt-rss.js b/js/tt-rss.js index 6fdb8ff5..ae5815b6 100644 --- a/js/tt-rss.js +++ b/js/tt-rss.js @@ -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); diff --git a/tt-rss.css b/tt-rss.css index 5a260bd5..68b866b4 100644 --- a/tt-rss.css +++ b/tt-rss.css @@ -1035,3 +1035,4 @@ body#ttrssZoom div.footer { select.attachments { display : block; } +