summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2020-06-09 09:36:05 +0000
committerqsm-odoo <qsm@odoo.com>2020-06-09 09:36:05 +0000
commitb61a3c974441f732dbfb3bd4087fbcf085c8cedc (patch)
tree50183d31cbc066ff2295b18a8811247405104fa9
parent7087116ad3737c40df9efc92070fdfab440e5c34 (diff)
[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) <qsm@odoo.com>
-rw-r--r--addons/web_editor/static/src/js/editor/snippets.editor.js2
1 files changed, 0 insertions, 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 () => {