[FIX] would be better if we could write to textareas as well
bzr revid: xmo@openerp.com-20121211101901-1lqbca199wbce2ld
This commit is contained in:
parent
88eb634fd5
commit
e616a9aa14
|
@ -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(),
|
||||
|
|
Loading…
Reference in New Issue