diff --git a/static/js/infoView.padma.js b/static/js/infoView.padma.js index c89dca37..770cc867 100644 --- a/static/js/infoView.padma.js +++ b/static/js/infoView.padma.js @@ -536,10 +536,11 @@ pandora.ui.infoView = function(data) { return '' + str + ''; } - function formatLink(key, value) { + function formatLink(key, value, linkValue) { + linkValue = linkValue || value; return (Ox.isArray(value) ? value : [value]).map(function(value) { return key - ? '' + value + '' + ? '' + value + '' : value; }).join(', '); } @@ -558,7 +559,7 @@ pandora.ui.infoView = function(data) { if (nameKeys.indexOf(key) > -1) { key = 'name'; } - return formatLink(key, ret); + return formatLink(key, ret, key == 'date' && value); } function getRightsLevelElement(rightsLevel) {