Author: konstantin.mishin
Date: 2008-01-16 09:01:17 -0500 (Wed, 16 Jan 2008)
New Revision: 5417
Modified:
trunk/ui/dataTable/src/main/resources/org/richfaces/renderkit/html/scripts/data-table.js
Log:
RF-1742 fix js error
Modified:
trunk/ui/dataTable/src/main/resources/org/richfaces/renderkit/html/scripts/data-table.js
===================================================================
---
trunk/ui/dataTable/src/main/resources/org/richfaces/renderkit/html/scripts/data-table.js 2008-01-16
13:56:34 UTC (rev 5416)
+++
trunk/ui/dataTable/src/main/resources/org/richfaces/renderkit/html/scripts/data-table.js 2008-01-16
14:01:17 UTC (rev 5417)
@@ -31,11 +31,13 @@
byTable.columns[columnId] = byExpression;
}
}
- var byId = byExpression[controlId];
- if (byId) {
- //TODO: delete controls already registered??
- } else {
- byExpression[controlId] = control;
+ if(byExpression) {
+ var byId = byExpression[controlId];
+ if (byId) {
+ //TODO: delete controls already registered??
+ } else {
+ byExpression[controlId] = control;
+ }
}
},
Show replies by date