forked from 0x2620/pandora
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'];
|
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: {
|
||||||
|
|
Loading…
Reference in a new issue