rework RCHK dupe checking a bit
This commit is contained in:
parent
43f775de05
commit
7fc1674a0d
|
@ -164,12 +164,14 @@ function headlines_callback2(transport, offset, background, infscroll_req) {
|
||||||
new_elems.each(function(child) {
|
new_elems.each(function(child) {
|
||||||
var cb = dijit.byId(child.id.replace("RROW-", "RCHK-"));
|
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))
|
} else {
|
||||||
new Effect.Appear(child, { duration : 0.5 });
|
c.domNode.removeChild(child);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue