[FIX] typo in previous commit

bzr revid: nicolas.vanhoren@openerp.com-20130306162436-nuitgum452gz6bq9
This commit is contained in:
niv-openerp 2013-03-06 17:24:36 +01:00
parent 1a8fce0ffb
commit 527e17033c
1 changed files with 3 additions and 1 deletions

View File

@ -2574,7 +2574,9 @@ instance.web.form.FieldText = instance.web.form.AbstractField.extend(instance.we
}
},
commit_value: function () {
this.store_dom_value();
if (! this.get("effective_readonly") && this.$textarea) {
this.store_dom_value();
}
return this._super();
},
store_dom_value: function () {