fix duplicate RCHK check while appending headlines
This commit is contained in:
parent
b0ec17ea3c
commit
61261e45b9
1 changed files with 3 additions and 3 deletions
|
@ -162,9 +162,9 @@ 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)) {
|
var cb = dijit.byId(child.id.replace("RROW-", "RCHK-"));
|
||||||
dijit.byId("RCHK-" + child.id).destroy();
|
|
||||||
}
|
if (cb) cb.destroy();
|
||||||
|
|
||||||
dojo.parser.parse(child);
|
dojo.parser.parse(child);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue