summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2012-12-11 11:19:01 +0100
committerXavier Morel <xmo@openerp.com>2012-12-11 11:19:01 +0100
commite616a9aa149c6d67ee4b2febb891438929607dfe (patch)
treeade4a01021d352604c9ad77429284d9551c7bfeb /addons/web/static/src/js
parent88eb634fd54776a73f24c4a5eed7b5f50f282ff3 (diff)
[FIX] would be better if we could write to textareas as well
bzr revid: xmo@openerp.com-20121211101901-1lqbca199wbce2ld
Diffstat (limited to 'addons/web/static/src/js')
-rw-r--r--addons/web/static/src/js/view_form.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/js/view_form.js b/addons/web/static/src/js/view_form.js
index 9fa863d857a..74204034c7a 100644
--- a/addons/web/static/src/js/view_form.js
+++ b/addons/web/static/src/js/view_form.js
@@ -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(),