more RCHK dijit dupe checking

This commit is contained in:
Andrew Dolgov 2012-12-25 18:39:25 +04:00
parent ad1a0687bf
commit de4335e891

View file

@ -162,6 +162,10 @@ function headlines_callback2(transport, offset, background, infscroll_req) {
initHeadlinesMenu(); initHeadlinesMenu();
new_elems.each(function(child) { new_elems.each(function(child) {
if (dijit.byId("RCHK-" + child.id)) {
dijit.byId("RCHK-" + child.id).destroy();
}
dojo.parser.parse(child); dojo.parser.parse(child);
if (!Element.visible(child)) if (!Element.visible(child))