indiancinema info view: make year a link
This commit is contained in:
parent
943298f061
commit
96fbdc7626
1 changed files with 3 additions and 1 deletions
|
@ -552,7 +552,9 @@ pandora.ui.infoView = function(data) {
|
|||
|
||||
function formatValue(key, value) {
|
||||
var ret;
|
||||
if (nameKeys.indexOf(key) > -1) {
|
||||
if (key == 'year') {
|
||||
ret = formatLink(value);
|
||||
else if (nameKeys.indexOf(key) > -1) {
|
||||
ret = formatLink(value.split(', '), 'name');
|
||||
} else if (listKeys.indexOf(key) > -1) {
|
||||
ret = formatLink(value.split(', '), key);
|
||||
|
|
Loading…
Reference in a new issue