From eb753057b294315e7f81ff734f462540cdf3c445 Mon Sep 17 00:00:00 2001 From: rolux Date: Sun, 7 Jul 2013 17:08:01 +0200 Subject: [PATCH] on poster change, don't update context browser if showSitePosters is active (fixes #1586) --- static/js/pandora/infoView.0xdb.js | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/static/js/pandora/infoView.0xdb.js b/static/js/pandora/infoView.0xdb.js index 39f6a2b0..acb03b33 100644 --- a/static/js/pandora/infoView.0xdb.js +++ b/static/js/pandora/infoView.0xdb.js @@ -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(); }