local variable, remove duplicate code

This commit is contained in:
j 2015-09-22 10:32:02 +01:00
commit f790b039da
2 changed files with 1 additions and 8 deletions

View file

@ -519,6 +519,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']