This commit is contained in:
Jan Gerber 2015-09-22 10:32:20 +01:00
parent eaa767c874
commit a30e8df593
1 changed files with 2 additions and 1 deletions

View File

@ -515,6 +515,7 @@ pandora.ui.infoView = function(data) {
edit[key] = value ? value : null;
}
pandora.api.edit(edit, function(result) {
var src;
data[key] = result.data[key];
descriptions[key] && descriptions[key].options({
value: result.data[key + 'description']
@ -527,7 +528,7 @@ pandora.ui.infoView = function(data) {
pandora.updateItemContext();
pandora.$ui.browser.value(result.data.id, key, result.data[key]);
if (Ox.contains(posterKeys, key) && ui.icons == 'posters') {
var src = pandora.getMediaURL('/' + data.id + '/poster512.jpg?' + Ox.uid());
src = pandora.getMediaURL('/' + data.id + '/poster512.jpg?' + Ox.uid());
$icon.attr({src: src});
$reflectionIcon.attr({src: src});
}