[FIX] web_editor: debug mode is not apply in editor iframe

This commit is contained in:
Christophe Matthieu
2017-01-16 11:11:04 +01:00
parent 94da369231
commit 72fbe860e8
+1 -1
View File
@@ -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;