summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/js/snippets.options.js
diff options
context:
space:
mode:
authorChristophe Matthieu <chm@odoo.com>2015-11-04 10:28:07 +0100
committerChristophe Matthieu <chm@odoo.com>2015-11-04 16:10:44 +0100
commitbdb787a18dec45809b67c0f22e0705d2404eed83 (patch)
treea6379edb147f53877fed38e861e2f2a45e0d4600 /addons/web_editor/static/src/js/snippets.options.js
parent40439096254ea3cb10154473babc245adb49020b (diff)
[FIX] web_editor: value changes of many2one in the website enable the save button
Diffstat (limited to 'addons/web_editor/static/src/js/snippets.options.js')
-rw-r--r--addons/web_editor/static/src/js/snippets.options.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/web_editor/static/src/js/snippets.options.js b/addons/web_editor/static/src/js/snippets.options.js
index a6f7368fb6c..04477f3b768 100644
--- a/addons/web_editor/static/src/js/snippets.options.js
+++ b/addons/web_editor/static/src/js/snippets.options.js
@@ -504,6 +504,7 @@ var many2one = Option.extend({
this.$target.attr('data-oe-many2one-id', this.ID).data('oe-many2one-id', this.ID);
this.buildingBlock.parent.rte.historyRecordUndo(this.$target);
+ this.$target.trigger('content_changed');
if (self.$target.data('oe-type') === "contact") {
$('[data-oe-contact-options]')