mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-19 23:11:29 +00:00
implement better way to add headlines into buffer
This commit is contained in:
@@ -77,6 +77,7 @@
|
|||||||
<div id="notify" class="notify"><span id="notify_body"> </span></div>
|
<div id="notify" class="notify"><span id="notify_body"> </span></div>
|
||||||
<div id="cmdline" style="display : none"></div>
|
<div id="cmdline" style="display : none"></div>
|
||||||
<div id="auxDlg" style="display : none"></div>
|
<div id="auxDlg" style="display : none"></div>
|
||||||
|
<div id="headlines-tmp" style="display : none"></div>
|
||||||
|
|
||||||
<div id="main" dojoType="dijit.layout.BorderContainer">
|
<div id="main" dojoType="dijit.layout.BorderContainer">
|
||||||
|
|
||||||
|
|||||||
10
viewfeed.js
10
viewfeed.js
@@ -123,8 +123,14 @@ function headlines_callback2(transport, feed_cur_page) {
|
|||||||
var c = dijit.byId("headlines-frame");
|
var c = dijit.byId("headlines-frame");
|
||||||
var ids = getSelectedArticleIds2();
|
var ids = getSelectedArticleIds2();
|
||||||
|
|
||||||
c.attr('content', c.attr('content') +
|
//c.attr('content', c.attr('content') +
|
||||||
headlines_content.firstChild.nodeValue);
|
// 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);
|
console.log("restore selected ids: " + ids);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user