diff options
| author | Siddarth Gajjar <sga@odoo.com> | 2019-01-25 07:12:39 +0000 |
|---|---|---|
| committer | Gorash <chm@odoo.com> | 2019-02-25 12:22:34 +0000 |
| commit | 23dcaf4836915b9d23a55b712746d159c19fa15d (patch) | |
| tree | 5fd406964e2e8bc93f9dd84f77f0ce06546f5e40 /addons/web_editor/static/src/js/backend/field_html.js | |
| parent | bad6db24834c8be7c2b3a635cf21f912258953b4 (diff) | |
[FIX] mass_mailing: fix send email issue.
- while clicking on send now button in mass mailing app it throws error due to wysiwyg undefined.
closes odoo/odoo#30533
Diffstat (limited to 'addons/web_editor/static/src/js/backend/field_html.js')
| -rw-r--r-- | addons/web_editor/static/src/js/backend/field_html.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web_editor/static/src/js/backend/field_html.js b/addons/web_editor/static/src/js/backend/field_html.js index b78fcc1d35f..f1dc4a8fccc 100644 --- a/addons/web_editor/static/src/js/backend/field_html.js +++ b/addons/web_editor/static/src/js/backend/field_html.js @@ -91,7 +91,7 @@ var FieldHtml = basic_fields.DebouncedField.extend(TranslatableFieldMixin, { */ commitChanges: function () { var self = this; - if (!this.wysiwyg) { + if (this.mode == "readonly") { return this._super(); } var _super = this._super.bind(this); |
