diff options
| author | bit-odoo <bit@odoo.com> | 2021-02-03 08:40:21 +0000 |
|---|---|---|
| committer | bit-odoo <bit@odoo.com> | 2021-02-16 10:00:51 +0000 |
| commit | 1de3ce47c6ab1a7afaccfda086a6284c0c41dcf3 (patch) | |
| tree | 21614feab2325d0468590d9d492f2b0e2b98c394 /addons/mail/static/src/components/chat_window/chat_window.js | |
| parent | 66b468626e046a13a463cff3a2285801016f3ed7 (diff) | |
[FIX] mail: odoo shortcuts doesn't work if chat window is focused
Before this commit:
When chat window is focused odoo shortcuts (with alt) did not work because of
there is stop propagation in _onKeydown method.
After this commit:
Remove stop propagation. Now odoo shortcuts (with alt) work
properly.
Task-2388829
closes odoo/odoo#65478
Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
Diffstat (limited to 'addons/mail/static/src/components/chat_window/chat_window.js')
| -rw-r--r-- | addons/mail/static/src/components/chat_window/chat_window.js | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/addons/mail/static/src/components/chat_window/chat_window.js b/addons/mail/static/src/components/chat_window/chat_window.js index 7e31cd3b6d4..f9271523651 100644 --- a/addons/mail/static/src/components/chat_window/chat_window.js +++ b/addons/mail/static/src/components/chat_window/chat_window.js @@ -289,12 +289,6 @@ class ChatWindow extends Component { * @param {KeyboardEvent} ev */ _onKeydown(ev) { - /** - * Prevent auto-focus of fuzzy search in the home menu. - * Useful in order to allow copy/paste content inside chat window with - * CTRL-C & CTRL-V when on the home menu. - */ - ev.stopPropagation(); if (!this.chatWindow) { // prevent crash during delete return; |
