Browse Source

cacher/admin: fix dead loop in table sort

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1037 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
3.0
Xuefer 9 years ago
parent
commit
dfaf158869
  1. 2
      mod_cacher/htdocs/tablesort.js

2
mod_cacher/htdocs/tablesort.js

@ -9,7 +9,7 @@ function get_inner_text(el) {
var str = "";
var cs = el.childNodes;
var l = cs.length;
for (i=0;i<l;i++) {
for (var i=0;i<l;i++) {
if (cs[i].nodeType==1) str += get_inner_text(cs[i]);
else if (cs[i].nodeType==3) str += cs[i].nodeValue;
}

Loading…
Cancel
Save