diff options
| author | Christophe Simonis <chs@odoo.com> | 2014-08-20 17:51:20 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2014-08-20 17:51:20 +0200 |
| commit | ddef2dd10aabf0e77bf63c462d5f29e353b6b53a (patch) | |
| tree | 9223b5781b9aa173b45539e652f6d7c7717f2c4e /addons/web/static/src/js/view_form.js | |
| parent | e2532dd8e0ee1b10fa0e1e06bb1c869d4a56c833 (diff) | |
| parent | 8f13e8320edaca58fe19bb4ed4a2ad515f1c8515 (diff) | |
[MERGE] forward port of branch saas-3 up to 8f13e83
Diffstat (limited to 'addons/web/static/src/js/view_form.js')
| -rw-r--r-- | addons/web/static/src/js/view_form.js | 2 |
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 a11f0a4e771..6c9379f958d 100644 --- a/addons/web/static/src/js/view_form.js +++ b/addons/web/static/src/js/view_form.js @@ -2810,7 +2810,7 @@ instance.web.form.FieldTextHtml = instance.web.form.AbstractField.extend(instanc if (! this.get("effective_readonly")) { self._updating_editor = false; this.$textarea = this.$el.find('textarea'); - var width = ((this.node.attrs || {}).editor_width || '100%'); + var width = ((this.node.attrs || {}).editor_width || 'auto'); var height = ((this.node.attrs || {}).editor_height || 250); this.$textarea.cleditor({ width: width, // width not including margins, borders or padding |
