fix a bug with formatted info texts in timelines and clips views
This commit is contained in:
parent
15205875b2
commit
507e856cf4
1 changed files with 9 additions and 4 deletions
|
@ -287,10 +287,15 @@ pandora.ui.list = function() {
|
|||
info = data['year'];
|
||||
} else {
|
||||
format = pandora.getSortKeyData(sortKey).format;
|
||||
info = format
|
||||
? Ox['format' + Ox.toTitleCase(format.type)]
|
||||
.apply(this, Ox.merge([data[sortKey]], format.args || []))
|
||||
: data[sortKey];
|
||||
if (format) {
|
||||
info = (
|
||||
/^color/.test(format.type.toLowerCase()) ? Ox.Theme : Ox
|
||||
)['format' + Ox.toTitleCase(format.type)].apply(
|
||||
this, Ox.merge([data[sortKey]], format.args || [])
|
||||
);
|
||||
} else {
|
||||
info = data[sortKey];
|
||||
}
|
||||
}
|
||||
return {
|
||||
icon: {
|
||||
|
|
Loading…
Reference in a new issue