diff --git a/static/js/pandora/info.js b/static/js/pandora/info.js index 5611fc35..da3c58df 100644 --- a/static/js/pandora/info.js +++ b/static/js/pandora/info.js @@ -9,7 +9,6 @@ pandora.ui.info = function() { .css({overflowX: 'hidden', overflowY: 'auto'}) .bindEvent({ toggle: function(data) { - Ox.Log('', 'INFO TOGGLE') pandora.UI.set({showInfo: !data.collapsed}); }, pandora_find: function() { @@ -46,7 +45,6 @@ pandora.ui.info = function() { function resizeInfo() { var height = pandora.getInfoHeight(true); - Ox.Log('', 'RESIZE INFO', ui.showInfo, height) pandora.$ui.leftPanel.size(2, height); pandora.resizeFolders(); !ui.showInfo && pandora.$ui.leftPanel.css({bottom: -height + 'px'}); diff --git a/static/js/pandora/listDialog.js b/static/js/pandora/listDialog.js index 769da656..8436bcc4 100644 --- a/static/js/pandora/listDialog.js +++ b/static/js/pandora/listDialog.js @@ -466,7 +466,15 @@ pandora.ui.listIconPanel = function(listData) { id: listData.id, posterFrames: posterFrames }, function() { - $icon.attr({src: '/list/' + listData.id + '/icon256.jpg?' + Ox.uid()}); + $icon.attr({ + src: '/list/' + listData.id + '/icon256.jpg?' + Ox.uid() + }); + pandora.$ui.folderList[listData.folder].$element + .find('img[src*="/' + listData.id + '/"]') + .attr({ + src: '/list/' + listData.id + '/icon16.jpg?' + Ox.uid() + }); + pandora.$ui.info.updateListInfo(); }); $preview.options({position: position}); }