diff options
| author | Christophe Matthieu <chm@odoo.com> | 2016-07-19 11:16:03 +0200 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2016-09-05 17:00:33 +0100 |
| commit | ea8f29e260fe87b409ad8babee27051aa51185ff (patch) | |
| tree | e52597ae8a61d211d86307cbd1a96fde27c56ebf /addons/web_editor/static/src | |
| parent | 0cca5651a518c5dc80de34490c082b1528dc5f5a (diff) | |
[FIX] web_editor: debug mode is not applied in the iframe of html field
Diffstat (limited to 'addons/web_editor/static/src')
| -rw-r--r-- | addons/web_editor/static/src/js/backend.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web_editor/static/src/js/backend.js b/addons/web_editor/static/src/js/backend.js index 468fab0c728..a20da344b03 100644 --- a/addons/web_editor/static/src/js/backend.js +++ b/addons/web_editor/static/src/js/backend.js @@ -251,7 +251,7 @@ var FieldTextHtml = widget.extend({ attr.translatable = 1; } if (session.debug) { - attr.debug = 1; + attr.debug = session.debug; } attr.lang = attr.enable_editor ? 'en_US' : this.session.user_context.lang; |
