when updating a list icon, update it in folder and info too

This commit is contained in:
rolux 2011-11-11 14:12:51 +00:00
commit 91f2c6fe35
2 changed files with 9 additions and 3 deletions

View file

@ -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});
}