fix poster/frames selection list

This commit is contained in:
j 2012-04-18 17:06:23 +02:00
parent aa69994b8f
commit 19b2bb7f06

View file

@ -679,7 +679,7 @@ pandora.ui.infoView = function(data) {
pandora.api.get({ pandora.api.get({
id: data.id, id: data.id,
keys: [ui.icons == 'posters' ? 'posters' : 'frames'] keys: [ui.icons == 'posters' ? 'posters' : 'frames']
}, function(result) { }, 0, function(result) {
var images = result.data[ui.icons == 'posters' ? 'posters' : 'frames'], var images = result.data[ui.icons == 'posters' ? 'posters' : 'frames'],
selectedImage = images.filter(function(image) { selectedImage = images.filter(function(image) {
return image.selected; return image.selected;
@ -774,6 +774,7 @@ pandora.ui.infoView = function(data) {
} }
}) })
.appendTo($info); .appendTo($info);
$list.size();
}); });
} }