fix editor -> set poster frame -> update browser icon
This commit is contained in:
parent
b0c80a5f47
commit
4f6975561c
1 changed files with 4 additions and 2 deletions
|
@ -265,9 +265,11 @@ pandora.ui.editor = function(data) {
|
||||||
});
|
});
|
||||||
|
|
||||||
function updateBrowser() {
|
function updateBrowser() {
|
||||||
pandora.$ui.browser.find('img[src*="/' + data.id + '/"]').each(function() {
|
pandora.$ui.browser.find('img[src*="/' + ui.item + '/"]').each(function() {
|
||||||
$(this).attr({
|
$(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()
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue