diff options
| author | Christophe Simonis <chs@odoo.com> | 2016-09-09 18:13:31 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2016-09-09 18:13:31 +0200 |
| commit | 298e2032ea3a8ef7aac3a606e2cbc420760fd4c9 (patch) | |
| tree | 0832a96998574fcb45148480bf22207a9bfef439 /addons/web_editor/static/src/js/snippets.options.js | |
| parent | 75f60f69416625713819c810d2da33db4dc0b06c (diff) | |
| parent | 9f28139297af937990a79d4a3026ba25bb9be6fe (diff) | |
[MERGE] forward port branch saas-12 up to 9f28139
Diffstat (limited to 'addons/web_editor/static/src/js/snippets.options.js')
| -rw-r--r-- | addons/web_editor/static/src/js/snippets.options.js | 1 |
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 4e74aba2fe3..b4b96beabca 100644 --- a/addons/web_editor/static/src/js/snippets.options.js +++ b/addons/web_editor/static/src/js/snippets.options.js @@ -354,6 +354,7 @@ odoo.define('web_editor.snippets.options', function (require) { this.$target.off(".background-option") .on("background-color-event.background-option", (function (e, type) { e.stopPropagation(); + if (e.currentTarget !== e.target) return; this.$el.find("li:first > a").trigger(type); }).bind(this)); return res; |
