fix column class name for table list cells

This commit is contained in:
rolux 2013-02-08 17:44:05 +05:30
parent 1b2c83e121
commit f64ee18aa4

View file

@ -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() {