getCel(id) should also work

This commit is contained in:
j 2011-06-04 18:18:12 +02:00
parent f601f0862f
commit 8acccb5cd1

View file

@ -511,6 +511,7 @@ Ox.TextList = function(options, self) {
function getCell(id, key) { function getCell(id, key) {
Ox.print('getCell', id, key) Ox.print('getCell', id, key)
var $item = getItem(id); var $item = getItem(id);
key = key || '';
return $($item.find('.OxCell.OxColumn' + Ox.toTitleCase(key))[0]); return $($item.find('.OxCell.OxColumn' + Ox.toTitleCase(key))[0]);
} }