fix duplicate RCHK check while appending headlines
This commit is contained in:
parent
b0ec17ea3c
commit
61261e45b9
|
@ -162,9 +162,9 @@ function headlines_callback2(transport, offset, background, infscroll_req) {
|
|||
initHeadlinesMenu();
|
||||
|
||||
new_elems.each(function(child) {
|
||||
if (dijit.byId("RCHK-" + child.id)) {
|
||||
dijit.byId("RCHK-" + child.id).destroy();
|
||||
}
|
||||
var cb = dijit.byId(child.id.replace("RROW-", "RCHK-"));
|
||||
|
||||
if (cb) cb.destroy();
|
||||
|
||||
dojo.parser.parse(child);
|
||||
|
||||
|
|
Loading…
Reference in New Issue