always display an original title
This commit is contained in:
parent
9b32107e05
commit
68cc64728b
1 changed files with 3 additions and 1 deletions
|
@ -584,7 +584,9 @@ pandora.ui.infoView = function(data) {
|
||||||
|
|
||||||
function formatValue(key, value) {
|
function formatValue(key, value) {
|
||||||
var ret;
|
var ret;
|
||||||
if (key == 'year') {
|
if (key == 'originalTitle') {
|
||||||
|
ret = value || data.title;
|
||||||
|
} else if (key == 'year') {
|
||||||
ret = formatLink(value, 'year');
|
ret = formatLink(value, 'year');
|
||||||
} else if (['releasedate', 'dateofcensorcertificate'].indexOf(key) > -1) {
|
} else if (['releasedate', 'dateofcensorcertificate'].indexOf(key) > -1) {
|
||||||
ret = value ? Ox.formatDate(value,
|
ret = value ? Ox.formatDate(value,
|
||||||
|
|
Loading…
Reference in a new issue