projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88eb634
)
[FIX] would be better if we could write to textareas as well
author
Xavier Morel
<xmo@openerp.com>
Tue, 11 Dec 2012 10:19:01 +0000
(11:19 +0100)
committer
Xavier Morel
<xmo@openerp.com>
Tue, 11 Dec 2012 10:19:01 +0000
(11:19 +0100)
bzr revid: xmo@openerp.com-
20121211101901
-1lqbca199wbce2ld
addons/web/static/src/js/view_form.js
patch
|
blob
|
history
diff --git
a/addons/web/static/src/js/view_form.js
b/addons/web/static/src/js/view_form.js
index
9fa863d
..
7420403
100644
(file)
--- 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(),