summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/js/backend.js
diff options
context:
space:
mode:
authorChristophe Matthieu <chm@odoo.com>2016-07-19 11:16:03 +0200
committerqsm-odoo <qsm@odoo.com>2016-09-05 17:00:33 +0100
commitea8f29e260fe87b409ad8babee27051aa51185ff (patch)
treee52597ae8a61d211d86307cbd1a96fde27c56ebf /addons/web_editor/static/src/js/backend.js
parent0cca5651a518c5dc80de34490c082b1528dc5f5a (diff)
[FIX] web_editor: debug mode is not applied in the iframe of html field
Diffstat (limited to 'addons/web_editor/static/src/js/backend.js')
-rw-r--r--addons/web_editor/static/src/js/backend.js2
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;