diff --git a/static/js/infoView.cms.js b/static/js/infoView.cms.js index 4fcf63f..894215c 100644 --- a/static/js/infoView.cms.js +++ b/static/js/infoView.cms.js @@ -584,9 +584,7 @@ pandora.ui.infoView = function(data) { function formatValue(key, value) { var ret; - if (key == 'originalTitle') { - ret = value || data.title; - } else if (key == 'year') { + if (key == 'year') { ret = formatLink(value, 'year'); } else if (['releasedate', 'dateofcensorcertificate'].indexOf(key) > -1) { ret = value ? Ox.formatDate(value, @@ -795,7 +793,11 @@ pandora.ui.infoView = function(data) { format: function(value) { return formatValue(key, value); }, - placeholder: formatLight(Ox._('unknown')), + placeholder: formatLight( + key == 'originalTitle' + ? data.title + : Ox._('unknown') + ), tooltip: canEdit ? pandora.getEditTooltip() : '', value: getValue(key, data[key]) })