fix editor -> set poster frame -> update browser icon

This commit is contained in:
rolux 2013-03-02 10:14:46 +00:00
parent b0c80a5f47
commit 4f6975561c

View file

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