chiark
/
gitweb
/
~yarrgweb
/
ypp-sc-tools.db-live.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Normalise commodity name case (from uploads)
[ypp-sc-tools.db-live.git]
/
yarrg
/
web
/
tabsort
diff --git
a/yarrg/web/tabsort
b/yarrg/web/tabsort
index 45d5e69e3763f56cbd2a1e1b888ad26261094116..5031a988382acf63c15cf7f736cb710bce77c379 100644
(file)
--- 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) {
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;
var ah = ts_add_heads[cix];
debug('appending to cix='+cix+' ah='+ah);
thlist.item(cix).innerHTML += ah;