X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?p=ypp-sc-tools.db-live.git;a=blobdiff_plain;f=yarrg%2Fweb%2Ftabsort;h=5031a988382acf63c15cf7f736cb710bce77c379;hp=45d5e69e3763f56cbd2a1e1b888ad26261094116;hb=ea3cffe854b1c540bc68cd2218fdb2be732197fa;hpb=6302552bfa5844eddb7c26386c9995733f0a5174 diff --git a/yarrg/web/tabsort b/yarrg/web/tabsort index 45d5e69..5031a98 100644 --- a/yarrg/web/tabsort +++ b/yarrg/web/tabsort @@ -166,6 +166,7 @@ function ts_onload__<% $table %>() { debug('thlist='+thlist); debug('thlist.item(2)=' + thlist.item(2)); for (var cix in ts_add_heads) { + if (!ts_add_heads.hasOwnProperty(cix)) continue; var ah = ts_add_heads[cix]; debug('appending to cix='+cix+' ah='+ah); thlist.item(cix).innerHTML += ah;