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