Author: konstantin.mishin
Date: 2007-07-05 13:26:36 -0400 (Thu, 05 Jul 2007)
New Revision: 1486
Modified:
branches/3.0.2/sandbox/scrollable-grid/src/main/javascript/ClientUI/common/utils/Utils.js
Log:
fix problem with neko filter
Modified:
branches/3.0.2/sandbox/scrollable-grid/src/main/javascript/ClientUI/common/utils/Utils.js
===================================================================
---
branches/3.0.2/sandbox/scrollable-grid/src/main/javascript/ClientUI/common/utils/Utils.js 2007-07-05
17:24:11 UTC (rev 1485)
+++
branches/3.0.2/sandbox/scrollable-grid/src/main/javascript/ClientUI/common/utils/Utils.js 2007-07-05
17:26:36 UTC (rev 1486)
@@ -88,8 +88,11 @@
var tcount = target.childNodes.length;
var innerHTML = [];
var k;
- for(k=0; k<tcount; k++) {
- tdSrc = k<ccount ? childs[k] : null;
+ for(k=0, l=0; k<tcount; k++, l++) {
+ if(!childs[l].tagName) {
+ l++;
+ }
+ tdSrc = k<ccount ? childs[l] : null;
innerHTML.push("<td class='");
innerHTML.push(target.childNodes[k].className);
innerHTML.push("'>");
Show replies by date