rework RCHK dupe checking a bit

master
Andrew Dolgov 12 years ago
parent 43f775de05
commit 7fc1674a0d

@ -164,12 +164,14 @@ function headlines_callback2(transport, offset, background, infscroll_req) {
new_elems.each(function(child) {
var cb = dijit.byId(child.id.replace("RROW-", "RCHK-"));
if (cb) cb.destroy();
if (!cb) {
dojo.parser.parse(child);
dojo.parser.parse(child);
if (!Element.visible(child))
new Effect.Appear(child, { duration : 0.5 });
if (!Element.visible(child))
new Effect.Appear(child, { duration : 0.5 });
} else {
c.domNode.removeChild(child);
}
});
} else {

Loading…
Cancel
Save