move up
This commit is contained in:
parent
eaa767c874
commit
a30e8df593
1 changed files with 2 additions and 1 deletions
|
@ -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});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue