Skip to content
Snippets Groups Projects
Commit 634f6ae4 authored by shsa-odoo's avatar shsa-odoo
Browse files

[FIX] mass_mailing: should not crash when loading snippets


Current behavior before fix:

In mobile view when we click invite button on events module which loads the
snippet, at that time there was a traceback.

Desired behavior after fix:

Now the snippet gets loaded without any traceback.

Task-2994261

closes odoo/odoo#101238

Signed-off-by: default avatarDavid Monjoie (dmo) <dmo@odoo.com>
parent 76299a8d
No related branches found
No related tags found
No related merge requests found
......@@ -210,7 +210,7 @@ export class MassMailingHtmlField extends HtmlField {
if (device.isMobile) {
$snippetsSideBar.hide();
this.$content.attr('style', 'padding-left: 0px !important');
this.wysiwyg.$iframe.attr('style', 'padding-left: 0px !important');
}
if (!odoo.debug) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment