headlines callback: prevent creation of duplicate RROW nodes

This commit is contained in:
Andrew Dolgov 2011-10-20 23:45:55 +04:00
parent b74fa65f6d
commit 0d333402ea
1 changed files with 2 additions and 0 deletions

View File

@ -100,6 +100,8 @@ function headlines_callback2(transport, offset, background) {
if ($$("#headlines-frame DIV[id="+row.id+"]").length == 0) {
row.style.display = 'none';
c.domNode.appendChild(row);
} else {
row.parentNode.removeChild(row);
}
});