add a hack to remove duplicate headlines from the buffer on initial load

master
Andrew Dolgov 12 years ago
parent 0670a2a71d
commit 04994fdb00

@ -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…
Cancel
Save