[FIX] web_editor: doubleclick on image in a link

Before this commit, when clicking on an image which is in a link, both
the link edition dialog and the image edition dialog were opened. Now
only one opens.
This commit is contained in:
dbh
2017-06-14 17:49:56 +02:00
committed by qsm-odoo
parent c083133255
commit c23a3fd9cc
@@ -849,6 +849,7 @@ eventHandler.attach = function (oLayoutInfo, options) {
if ($(e.target).closest(".note-toolbar").length) return; // prevent icon edition of top bar for default summernote
show_tooltip = false;
callback();
e.stopImmediatePropagation();
});
oLayoutInfo.editor().on("click", selector, function (e) {