diff --git a/static/js/pandora/ui/browser.js b/static/js/pandora/ui/browser.js index 11d9592d4..a8ffda8cc 100644 --- a/static/js/pandora/ui/browser.js +++ b/static/js/pandora/ui/browser.js @@ -61,11 +61,10 @@ pandora.ui.browser = function() { ui.icons == 'posters' ? (ui.showSitePoster ? 'siteposter' : 'poster') : 'icon' ) + size + '.jpg', - format, info, sortKey; + format, info, sortKey = sort[0].key; if (['title', 'director'].indexOf(sortKey) > -1) { info = data['year']; } else { - sortKey = sort[0].key; format = pandora.getSortKeyData(sortKey).format; info = format ? Ox['format' + Ox.toTitleCase(format.type)] diff --git a/static/js/pandora/ui/infoView.js b/static/js/pandora/ui/infoView.js index 387099611..f4401cca6 100644 --- a/static/js/pandora/ui/infoView.js +++ b/static/js/pandora/ui/infoView.js @@ -193,6 +193,7 @@ pandora.ui.infoView = function(data) { ) .appendTo($text); + // fixme: creator seems to be always missing if (data.creator || data.writer || data.producer || data.cinematographer || data.editor) { $div = $('
') .css(css)