From cbb8799b6fef8d7da050e294b18dbb4cd4ccffa9 Mon Sep 17 00:00:00 2001 From: Nicolas Lempereur Date: Fri, 2 Oct 2015 10:41:29 +0200 Subject: [FIX] web_editor, mass_mailing: summernote oversight and video * some oversight when updating summernote with d33086c, * fix style when replacing image with video --- addons/mass_mailing/static/src/js/mass_mailing_editor.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'addons/mass_mailing/static/src/js/mass_mailing_editor.js') diff --git a/addons/mass_mailing/static/src/js/mass_mailing_editor.js b/addons/mass_mailing/static/src/js/mass_mailing_editor.js index 05a438e091e..97d77447300 100644 --- a/addons/mass_mailing/static/src/js/mass_mailing_editor.js +++ b/addons/mass_mailing/static/src/js/mass_mailing_editor.js @@ -123,8 +123,8 @@ options.registry["width-x"] = options.Class.extend({ }); -var fn_popover_update = $.summernote.eventHandler.popover.update; -$.summernote.eventHandler.popover.update = function ($popover, oStyle, isAirMode) { +var fn_popover_update = $.summernote.eventHandler.modules.popover.update; +$.summernote.eventHandler.modules.popover.update = function ($popover, oStyle, isAirMode) { fn_popover_update.call(this, $popover, oStyle, isAirMode); $("span.o_table_handler, div.note-table").remove(); }; -- cgit v1.2.3