reload poster if poster keys are changed
This commit is contained in:
parent
baa3b63712
commit
8f9372bc07
1 changed files with 2 additions and 4 deletions
|
@ -23,6 +23,7 @@ pandora.ui.infoView = function(data) {
|
|||
'writer', 'producer', 'featuring'
|
||||
],
|
||||
listKeys = nameKeys.concat(['language', 'themes', 'groups']),
|
||||
posterKeys = nameKeys.concat(['title', 'date', 'collection']),
|
||||
statisticsWidth = 128,
|
||||
|
||||
$bar = Ox.Bar({size: 16})
|
||||
|
@ -525,10 +526,7 @@ pandora.ui.infoView = function(data) {
|
|||
}
|
||||
pandora.updateItemContext();
|
||||
pandora.$ui.browser.value(result.data.id, key, result.data[key]);
|
||||
if (
|
||||
Ox.contains([].conact(pandora.site.itemTitleKeys, nameKeys), key)
|
||||
&& ui.icons == 'posters'
|
||||
) {
|
||||
if (Ox.contains(posterKeys, key) && ui.icons == 'posters') {
|
||||
src = pandora.getMediaURL('/' + data.id + '/poster512.jpg?' + Ox.uid());
|
||||
$icon.attr({src: src});
|
||||
$reflectionIcon.attr({src: src});
|
||||
|
|
Loading…
Reference in a new issue