on poster change, don't update context browser if showSitePosters is active (fixes #1586)

This commit is contained in:
rolux 2013-07-07 17:08:01 +02:00
parent b145946372
commit eb753057b2

View file

@ -875,11 +875,13 @@ pandora.ui.infoView = function(data) {
}); });
} }
} }
if (!ui.showSitePosters) {
$browserImages.each(function() { $browserImages.each(function() {
$(this).attr({src: '/' + data.id + '/' + ( $(this).attr({src: '/' + data.id + '/' + (
ui.icons == 'posters' ? 'poster' : 'icon' ui.icons == 'posters' ? 'poster' : 'icon'
) + '128.jpg?' + Ox.uid()}); ) + '128.jpg?' + Ox.uid()});
}); });
}
if (ui.listSort[0].key == 'modified') { if (ui.listSort[0].key == 'modified') {
pandora.$ui.browser.reloadList(); pandora.$ui.browser.reloadList();
} }