diff options
author | Andrew Dolgov <[email protected]> | 2014-01-27 22:03:42 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2014-01-27 22:03:42 +0400 |
commit | 1bffd1068faee6c33ea86dcec188679d5f1ea4c8 (patch) | |
tree | b108e0e6148e15272563a59c4e1e206b6399ec49 /js | |
parent | a3c6695a8539c34fc1e29bd5083f4186134cc7ec (diff) |
unify main and headlines toolbar
Diffstat (limited to 'js')
-rw-r--r-- | js/viewfeed.js | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/js/viewfeed.js b/js/viewfeed.js index 3295182fc..8a07965fc 100644 --- a/js/viewfeed.js +++ b/js/viewfeed.js @@ -87,8 +87,12 @@ function headlines_callback2(transport, offset, background, infscroll_req) { dijit.byId("headlines-frame").attr('content', reply['headlines']['content']); - dijit.byId("headlines-toolbar").attr('content', - reply['headlines']['toolbar']); + //dijit.byId("headlines-toolbar").attr('content', + // reply['headlines']['toolbar']); + + dojo.html.set($("headlines-toolbar"), + reply['headlines']['toolbar'], + {parseContent: true}); $$("#headlines-frame > div[id*=RROW]").each(function(row) { if (loaded_article_ids.indexOf(row.id) != -1) { |