From a30e8df5939e4548f94ece016e4e06d896211ccb Mon Sep 17 00:00:00 2001 From: Jan Gerber Date: Tue, 22 Sep 2015 10:32:20 +0100 Subject: [PATCH] move up --- static/js/infoView.mdr.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/static/js/infoView.mdr.js b/static/js/infoView.mdr.js index 8d9cf1a..9952aa3 100644 --- a/static/js/infoView.mdr.js +++ b/static/js/infoView.mdr.js @@ -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}); }