add a hack to remove duplicate headlines from the buffer on initial load
This commit is contained in:
parent
0670a2a71d
commit
04994fdb00
1 changed files with 5 additions and 0 deletions
|
@ -80,6 +80,11 @@ function headlines_callback2(transport, offset, background, infscroll_req) {
|
|||
dijit.byId("headlines-toolbar").attr('content',
|
||||
reply['headlines']['toolbar']);
|
||||
|
||||
$$("#headlines-frame > div[id*=RROW]").each(function(row) {
|
||||
if ($$("#headlines-frame DIV[id="+row.id+"]").length > 1) {
|
||||
row.parentNode.removeChild(row);
|
||||
}
|
||||
});
|
||||
|
||||
if (getInitParam("cdm_auto_catchup") == 1) {
|
||||
var hsp = $("headlines-spacer");
|
||||
|
|
Loading…
Reference in a new issue