toggleSelect(etc): properly check for headlines object
This commit is contained in:
parent
0a18d0b1ed
commit
1930f0e4e0
|
@ -1004,7 +1004,7 @@ function toggleSelectRow2(sender, row, is_cdm) {
|
||||||
else
|
else
|
||||||
row.removeClassName('Selected');
|
row.removeClassName('Selected');
|
||||||
|
|
||||||
if (typeof updateSelectedPrompt != undefined)
|
if (typeof Headlines != "undefined")
|
||||||
Headlines.updateSelectedPrompt();
|
Headlines.updateSelectedPrompt();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1018,7 +1018,7 @@ function toggleSelectRow(sender, row) {
|
||||||
else
|
else
|
||||||
row.removeClassName('Selected');
|
row.removeClassName('Selected');
|
||||||
|
|
||||||
if (typeof updateSelectedPrompt != undefined)
|
if (typeof Headlines != "undefined")
|
||||||
Headlines.updateSelectedPrompt();
|
Headlines.updateSelectedPrompt();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue