setActiveFeedId: assign feed/is-cat attributes to headlines-frame

This commit is contained in:
Andrew Dolgov 2013-03-28 19:20:12 +04:00
parent bf6df2368d
commit 67b9d740ae
2 changed files with 4 additions and 0 deletions

View File

@ -36,6 +36,9 @@ function setActiveFeedId(id, is_cat) {
_active_feed_id = id; _active_feed_id = id;
_active_feed_is_cat = is_cat; _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); selectFeed(id, is_cat);
} catch (e) { } catch (e) {
exception_error("setActiveFeedId", e); exception_error("setActiveFeedId", e);

View File

@ -1035,3 +1035,4 @@ body#ttrssZoom div.footer {
select.attachments { select.attachments {
display : block; display : block;
} }