This commit is contained in:
Jan Gerber 2015-09-22 10:32:20 +01:00
parent eaa767c874
commit a30e8df593

View file

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