From b61a3c974441f732dbfb3bd4087fbcf085c8cedc Mon Sep 17 00:00:00 2001 From: qsm-odoo Date: Tue, 9 Jun 2020 09:36:05 +0000 Subject: [PATCH] [FIX] web_editor: restore invisible snippet activation The loading effect of the left panel was conflicting with the invisible snippet activation. This is to be reviewed with the new UI anyway, so the loading effect is just removed in that case for now. closes odoo/odoo#52676 Signed-off-by: Quentin Smetz (qsm) --- addons/web_editor/static/src/js/editor/snippets.editor.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/addons/web_editor/static/src/js/editor/snippets.editor.js b/addons/web_editor/static/src/js/editor/snippets.editor.js index 20c73e39e99..1376e6f76e7 100644 --- a/addons/web_editor/static/src/js/editor/snippets.editor.js +++ b/addons/web_editor/static/src/js/editor/snippets.editor.js @@ -2057,8 +2057,6 @@ var SnippetsMenu = Widget.extend({ * @param {Event} ev */ _onInvisibleEntryClick: async function (ev) { - this._addTabLoading(); - ev.preventDefault(); const $snippet = $(this.invisibleDOMMap.get(ev.currentTarget)); const isVisible = await this._mutex.exec(async () => {