1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-02-10 16:01:33 +00:00

implement better way to add headlines into buffer

This commit is contained in:
Andrew Dolgov
2010-11-26 09:42:45 +03:00
parent beb119a23c
commit 64e411abf4
2 changed files with 9 additions and 2 deletions
+8 -2
View File
@@ -123,8 +123,14 @@ function headlines_callback2(transport, feed_cur_page) {
var c = dijit.byId("headlines-frame");
var ids = getSelectedArticleIds2();
c.attr('content', c.attr('content') +
headlines_content.firstChild.nodeValue);
//c.attr('content', c.attr('content') +
// headlines_content.firstChild.nodeValue);
$("headlines-tmp").innerHTML = headlines_content.firstChild.nodeValue;
$$("#headlines-tmp > div").each(function(row) {
c.domNode.appendChild(row);
});
console.log("restore selected ids: " + ids);