[IMP] web_linkedin: remove empty line

bzr revid: chm@openerp.com-20130131142115-71jxh14zrcp1hdz0
This commit is contained in:
Christophe Matthieu 2013-01-31 15:21:15 +01:00
parent 9b748c3d37
commit f56421f57a
1 changed files with 1 additions and 3 deletions

View File

@ -174,9 +174,7 @@ openerp.web_linkedin = function(instance) {
var values = self.view.get_fields_values();
_.each(to_change, function (value, key) {
if (!/linkedin/.test(key) && !!values[key]) {
if(_.isArray(values[key])) {
} else {
if(!_.isArray(values[key])) {
delete to_change[key];
}
}