summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/js/backend/field_html.js
diff options
context:
space:
mode:
Diffstat (limited to 'addons/web_editor/static/src/js/backend/field_html.js')
-rw-r--r--addons/web_editor/static/src/js/backend/field_html.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/addons/web_editor/static/src/js/backend/field_html.js b/addons/web_editor/static/src/js/backend/field_html.js
index 0be20743132..cc06bc53c96 100644
--- a/addons/web_editor/static/src/js/backend/field_html.js
+++ b/addons/web_editor/static/src/js/backend/field_html.js
@@ -432,6 +432,8 @@ var FieldHtml = basic_fields.DebouncedField.extend(TranslatableFieldMixin, {
if (ev.offsetX > 0) {
return;
}
+ ev.stopPropagation();
+ ev.preventDefault();
var checked = $(ev.target).hasClass('o_checked');
var checklistId = parseInt(($(ev.target).attr('id') || '0').replace(/^checklist-id-/, ''));