From 67b9d740ae14e13ea8d58ee452f9f3a3e8d46398 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 28 Mar 2013 19:20:12 +0400 Subject: setActiveFeedId: assign feed/is-cat attributes to headlines-frame --- js/tt-rss.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'js') diff --git a/js/tt-rss.js b/js/tt-rss.js index 6fdb8ff55..ae5815b68 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); -- cgit v1.2.3