summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/js
diff options
context:
space:
mode:
authorChristophe Matthieu <chm@odoo.com>2017-01-16 11:11:04 +0100
committerChristophe Matthieu <chm@odoo.com>2017-01-16 11:11:04 +0100
commit72fbe860e8da17fe2542f1ebbcdcff3d7c18d1d3 (patch)
tree786b3437e2b85684f3402c95f38ac79d5b64ca0e /addons/web_editor/static/src/js
parent94da36923139386eee30d3080675f5160f888bf8 (diff)
[FIX] web_editor: debug mode is not apply in editor iframe
Diffstat (limited to 'addons/web_editor/static/src/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 3585ddfdb9a..ef0dfe7ed09 100644
--- a/addons/web_editor/static/src/js/backend.js
+++ b/addons/web_editor/static/src/js/backend.js
@@ -261,7 +261,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;