headlines callback: prevent creation of duplicate RROW nodes
This commit is contained in:
parent
b74fa65f6d
commit
0d333402ea
1 changed files with 2 additions and 0 deletions
|
@ -100,6 +100,8 @@ function headlines_callback2(transport, offset, background) {
|
||||||
if ($$("#headlines-frame DIV[id="+row.id+"]").length == 0) {
|
if ($$("#headlines-frame DIV[id="+row.id+"]").length == 0) {
|
||||||
row.style.display = 'none';
|
row.style.display = 'none';
|
||||||
c.domNode.appendChild(row);
|
c.domNode.appendChild(row);
|
||||||
|
} else {
|
||||||
|
row.parentNode.removeChild(row);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue