fix a bug with formatted info texts in timelines and clips views

This commit is contained in:
rolux 2011-10-28 19:43:07 +00:00
parent 15205875b2
commit 507e856cf4

View file

@ -287,10 +287,15 @@ pandora.ui.list = function() {
info = data['year']; info = data['year'];
} else { } else {
format = pandora.getSortKeyData(sortKey).format; format = pandora.getSortKeyData(sortKey).format;
info = format if (format) {
? Ox['format' + Ox.toTitleCase(format.type)] info = (
.apply(this, Ox.merge([data[sortKey]], format.args || [])) /^color/.test(format.type.toLowerCase()) ? Ox.Theme : Ox
: data[sortKey]; )['format' + Ox.toTitleCase(format.type)].apply(
this, Ox.merge([data[sortKey]], format.args || [])
);
} else {
info = data[sortKey];
}
} }
return { return {
icon: { icon: {