diff --git a/static/js/pandora/editor.js b/static/js/pandora/editor.js index 5302d60fa..976cda492 100644 --- a/static/js/pandora/editor.js +++ b/static/js/pandora/editor.js @@ -265,9 +265,11 @@ pandora.ui.editor = function(data) { }); function updateBrowser() { - pandora.$ui.browser.find('img[src*="/' + data.id + '/"]').each(function() { + pandora.$ui.browser.find('img[src*="/' + ui.item + '/"]').each(function() { $(this).attr({ - src: '/' + data.id + '/' + ui.icons.slice(0, -1) + '128.jpg?' + Ox.uid() + src: '/' + ui.item + '/' + ( + ui.icons == 'posters' ? 'poster' : 'icon' + ) + '128.jpg?' + Ox.uid() }); }); }