From f64ee18aa48ae55e07cfebe8ba5712d11ac5374b Mon Sep 17 00:00:00 2001 From: rolux Date: Fri, 8 Feb 2013 17:44:05 +0530 Subject: [PATCH] fix column class name for table list cells --- source/Ox.UI/js/List/TableList.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/Ox.UI/js/List/TableList.js b/source/Ox.UI/js/List/TableList.js index 13aa5438..c23f52fc 100644 --- a/source/Ox.UI/js/List/TableList.js +++ b/source/Ox.UI/js/List/TableList.js @@ -708,7 +708,9 @@ Ox.TableList = function(options, self) { function getCell(id, key) { var $item = getItem(id); key = key || ''; // fixme: what is this? - return $($item.find('.OxCell.OxColumn' + Ox.toTitleCase(key))[0]); + return $($item.find( + '.OxCell.OxColumn' + key[0].toUpperCase() + key.slice(1) + )[0]); } function getColumnOffsets() {