[FIX] would be better if we could write to textareas as well

bzr revid: xmo@openerp.com-20121211101901-1lqbca199wbce2ld
This commit is contained in:
Xavier Morel 2012-12-11 11:19:01 +01:00
parent 88eb634fd5
commit e616a9aa14
1 changed files with 1 additions and 1 deletions

View File

@ -2549,7 +2549,7 @@ instance.web.form.FieldText = instance.web.form.AbstractField.extend(instance.we
return this._super();
},
store_dom_value: function () {
if (!this.get('effective_readonly') && this.$('input').length) {
if (!this.get('effective_readonly') && this.$('textarea').length) {
this.internal_set_value(
instance.web.parse_value(
this.$textarea.val(),