fix list for undefined values, i.e. resolution
This commit is contained in:
parent
0be16d93a6
commit
39cdfc131b
1 changed files with 3 additions and 1 deletions
|
@ -134,7 +134,9 @@ pandora.ui.list = function() {
|
||||||
info = data['year'];
|
info = data['year'];
|
||||||
} else {
|
} else {
|
||||||
format = pandora.getSortKeyData(sortKey).format;
|
format = pandora.getSortKeyData(sortKey).format;
|
||||||
if (format) {
|
if (Ox.isUndefined(data[sortKey]) || Ox.isNull(data[sortKey])) {
|
||||||
|
info = '';
|
||||||
|
} else if (format) {
|
||||||
info = (
|
info = (
|
||||||
/^color/.test(format.type.toLowerCase()) ? Ox.Theme : Ox
|
/^color/.test(format.type.toLowerCase()) ? Ox.Theme : Ox
|
||||||
)['format' + Ox.toTitleCase(format.type)].apply(
|
)['format' + Ox.toTitleCase(format.type)].apply(
|
||||||
|
|
Loading…
Reference in a new issue