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) {
}); });
} }
} }
$browserImages.each(function() { if (!ui.showSitePosters) {
$(this).attr({src: '/' + data.id + '/' + ( $browserImages.each(function() {
ui.icons == 'posters' ? 'poster' : 'icon' $(this).attr({src: '/' + data.id + '/' + (
) + '128.jpg?' + Ox.uid()}); ui.icons == 'posters' ? 'poster' : 'icon'
}); ) + '128.jpg?' + Ox.uid()});
});
}
if (ui.listSort[0].key == 'modified') { if (ui.listSort[0].key == 'modified') {
pandora.$ui.browser.reloadList(); pandora.$ui.browser.reloadList();
} }