From 68cc64728bd06c15c5bfc2b187664286be95dbba Mon Sep 17 00:00:00 2001 From: rlx Date: Wed, 12 Sep 2018 20:08:41 +0200 Subject: [PATCH] always display an original title --- static/js/infoView.cms.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/static/js/infoView.cms.js b/static/js/infoView.cms.js index 663b0fd..4fcf63f 100644 --- a/static/js/infoView.cms.js +++ b/static/js/infoView.cms.js @@ -584,7 +584,9 @@ pandora.ui.infoView = function(data) { function formatValue(key, value) { var ret; - if (key == 'year') { + if (key == 'originalTitle') { + ret = value || data.title; + } else if (key == 'year') { ret = formatLink(value, 'year'); } else if (['releasedate', 'dateofcensorcertificate'].indexOf(key) > -1) { ret = value ? Ox.formatDate(value,