[FIX] website: do not activate megamenu snippet when translating
task-2810332 X-original-commit: 372909978ac8869ab440bbd06a625afd4dd255a0 Part-of: odoo/odoo#89071
This commit is contained in:
@@ -67,7 +67,11 @@ Wysiwyg.include({
|
||||
// Then toggle the clicked one
|
||||
toggleDropdown($toggle)
|
||||
.then(dispose)
|
||||
.then(() => this._toggleMegaMenu($toggle[0]))
|
||||
.then(() => {
|
||||
if (!this.options.enableTranslation) {
|
||||
this._toggleMegaMenu($toggle[0]);
|
||||
}
|
||||
})
|
||||
.then(() => this.odooEditor.observerActive());
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user