From 8221664804b8d3d4f03d8938484b16df57d280b8 Mon Sep 17 00:00:00 2001 From: Benjamin Vray Date: Tue, 21 Sep 2021 07:41:07 +0000 Subject: [PATCH] [FIX] website: fix main menu navbar disappearing Before this commit, the "purple" main menu navbar disappeared before the editor was loaded (after clicking on the "Edit" button). task-2652381 closes odoo/odoo#76920 X-original-commit: 63aebbfb0749c59bd336e3431aed12a902d3bf13 Signed-off-by: Quentin Smetz (qsm) --- addons/website/static/src/js/editor/snippets.editor.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/website/static/src/js/editor/snippets.editor.js b/addons/website/static/src/js/editor/snippets.editor.js index 67aaff9f195..9a37d3b4bad 100644 --- a/addons/website/static/src/js/editor/snippets.editor.js +++ b/addons/website/static/src/js/editor/snippets.editor.js @@ -35,8 +35,8 @@ weSnippetEditor.SnippetsMenu.include({ /** * @override */ - start() { - this._super(...arguments); + async start() { + await this._super(...arguments); this.$currentAnimatedText = $(); this.__onSelectionChange = ev => {