1
0
Fork 0
forked from 0x2620/oxjs

fix column class name for table list cells

This commit is contained in:
rolux 2013-02-08 17:38:24 +05:30
commit 1b2c83e121
2 changed files with 7 additions and 4 deletions

View file

@ -536,7 +536,7 @@ Ox.TableList = function(options, self) {
$cell = $('<div>');
}
$cell.addClass(
'OxCell OxColumn' + Ox.toTitleCase(v.id)
'OxCell OxColumn' + v.id[0].toUpperCase() + v.id.slice(1)
+ (clickable ? ' OxClickable' : '')
+ (editable ? ' OxEditable' : '')
)