Author: abelevich
Date: 2007-07-05 15:00:16 -0400 (Thu, 05 Jul 2007)
New Revision: 1503
Modified:
branches/3.0.2/sandbox/scrollable-grid/src/main/javascript/ClientUI/common/utils/Utils.js
Log:
fix replaceNodes
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
18:53:58 UTC (rev 1502)
+++
branches/3.0.2/sandbox/scrollable-grid/src/main/javascript/ClientUI/common/utils/Utils.js 2007-07-05
19:00:16 UTC (rev 1503)
@@ -89,9 +89,14 @@
var innerHTML = [];
var k;
for(k=0, l=0; k<tcount; k++, l++) {
- if(!childs[l].tagName) {
- l++;
+
+ if(childs[l]){
+ if(!childs[l].tagName) {
+ l++;
+ }
}
+
+
tdSrc = l<ccount ? childs[l] : null;
innerHTML.push("<td class='");
innerHTML.push(target.childNodes[k].className);
Show replies by date