js part too

This commit is contained in:
j 2012-02-13 17:03:32 +05:30
parent ff1ce07e26
commit e03a313e77

View file

@ -525,7 +525,7 @@ pandora.ui.infoView = function(data) {
} else if (listKeys.indexOf(key) > -1) {
edit[key] = value ? value.split(', ') : [];
} else {
edit[key] = value;
edit[key] = value ? value : null;
}
pandora.api.edit(edit, function(result) {
data[key] = value;