[imp] more improvements to many2manytags

bzr revid: nicolas.vanhoren@openerp.com-20120510084502-d1hp3zzxbdwwpzq2
This commit is contained in:
niv-openerp 2012-05-10 10:45:02 +02:00
commit 8ebbf3ef3c
1 changed files with 3 additions and 0 deletions

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_ || [];