fix infoview
This commit is contained in:
parent
2ae26e4474
commit
a62204dc06
1 changed files with 2 additions and 1 deletions
|
@ -751,10 +751,11 @@ pandora.ui.infoView = function(data, isMixed) {
|
|||
|
||||
function formatValue(key, value) {
|
||||
var ret;
|
||||
var itemKey = Ox.getObjectById(pandora.site.itemKeys, key)
|
||||
if (key == 'year') {
|
||||
ret = formatLink(value, 'year');
|
||||
} else if (
|
||||
specialListKeys.indexOf(key) > -1 && Ox.getObjectById(pandora.site.itemKeys, key).type[0] == 'date'
|
||||
specialListKeys.indexOf(key) > -1 && itemKey && itemKey.type[0] == 'date'
|
||||
) {
|
||||
ret = value.split('; ').map(function(date) {
|
||||
date = cleanupDate(date)
|
||||
|
|
Loading…
Reference in a new issue