diff options
| author | qsm-odoo <qsm@odoo.com> | 2020-06-09 09:36:05 +0000 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2020-06-09 09:36:05 +0000 |
| commit | b61a3c974441f732dbfb3bd4087fbcf085c8cedc (patch) | |
| tree | 50183d31cbc066ff2295b18a8811247405104fa9 | |
| parent | 7087116ad3737c40df9efc92070fdfab440e5c34 (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.js | 2 |
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 () => { |
