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

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);
}
});