From 4dc2e99772bf24de2b24594fda432187f0e7d186 Mon Sep 17 00:00:00 2001 From: vishal padhiyar Date: Wed, 2 Aug 2023 11:59:34 +0530 Subject: [PATCH] [FIX] web_editor: tableUiMenu border stuck after deleting table Before this commit: When tableUiMenu is visible and we try to delete the table then tableUiMenu stuck after table deletion. After this commit: Now after table deletion tableUiMenu also hide. task-3429097 X-original-commit: 951dc35e17dfa9fbbb8906afbec82216c63e7d11 Part-of: odoo/odoo#144863 --- .../static/src/js/editor/odoo-editor/src/OdooEditor.js | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/web_editor/static/src/js/editor/odoo-editor/src/OdooEditor.js b/addons/web_editor/static/src/js/editor/odoo-editor/src/OdooEditor.js index 3e76e670826..b6dbc25136d 100644 --- a/addons/web_editor/static/src/js/editor/odoo-editor/src/OdooEditor.js +++ b/addons/web_editor/static/src/js/editor/odoo-editor/src/OdooEditor.js @@ -2348,6 +2348,7 @@ export class OdooEditor extends EventTarget { } else if (fullySelectedTables.length) { fullySelectedTables.forEach(table => table.remove()); } + this._toggleTableUi(); return false; }