[imp] remove content of textarea on focusout

bzr revid: nicolas.vanhoren@openerp.com-20120509162556-clt12mro6ij59iug
This commit is contained in:
niv-openerp
2012-05-09 18:25:56 +02:00
parent dbc3e90084
commit eaeecfdc79
+3
View File
@@ -3141,6 +3141,9 @@ instance.web.form.FieldMany2ManyTags = instance.web.form.AbstractField.extend(_.
});
});
self.tags = self.$text.textext()[0].tags();
$("textarea", this.$element).focusout(function() {
$("textarea", this.$element).val("");
});
},
set_value: function(value_) {
value_ = value_ || [];