summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorChristophe Matthieu <chm@odoo.com>2015-09-25 17:06:39 +0200
committerChristophe Matthieu <chm@odoo.com>2015-09-28 15:23:35 +0200
commit6ebcc061523b60bb81aa837f93ce2f2a03f6d37f (patch)
tree31cfdb7f977c1989454aaeeba0d23ba8df917103 /addons
parent8c9cf9eb38f81c89cd8dc088436b7c12880b2cee (diff)
[FIX] web_editor: remove 'lang' from the context to save master website xml
Diffstat (limited to 'addons')
-rw-r--r--addons/web_editor/static/src/js/rte.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web_editor/static/src/js/rte.js b/addons/web_editor/static/src/js/rte.js
index 8ba34b8866a..39f52c8c66b 100644
--- a/addons/web_editor/static/src/js/rte.js
+++ b/addons/web_editor/static/src/js/rte.js
@@ -443,7 +443,7 @@ var RTE = Widget.extend({
$el.data('oe-id'),
markup,
$el.data('oe-xpath') || null,
- context || base.get_context()
+ _.omit(context || base.get_context(), 'lang')
],
});
},