summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/components/chat_window/chat_window.xml
diff options
context:
space:
mode:
authorDidier (did) <did@odoo.com>2020-07-17 08:53:41 +0000
committerDidier (did) <did@odoo.com>2020-08-05 11:04:12 +0000
commitc69f2c9a3de21b09e7bad7dbb655117b1cf365cc (patch)
treec5cb1ef3a781869e195f3b9ebe99023d52c56f57 /addons/mail/static/src/components/chat_window/chat_window.xml
parentfd62fa16ad9e03c0ddfde475ad83049e890a4802 (diff)
[FIX] mail: tab cycling between chat window
Before this commit, cycling between chat window in LTR language clycled in the wrong direction. This commit also handle the RTL language cycling. task-2279706 closes odoo/odoo#55456 X-original-commit: 638720f9d72616f2e921a475a5fdfd2ad9a2ab8b Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com> Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
Diffstat (limited to 'addons/mail/static/src/components/chat_window/chat_window.xml')
-rw-r--r--addons/mail/static/src/components/chat_window/chat_window.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/mail/static/src/components/chat_window/chat_window.xml b/addons/mail/static/src/components/chat_window/chat_window.xml
index 32d6373af3c..76ea5005991 100644
--- a/addons/mail/static/src/components/chat_window/chat_window.xml
+++ b/addons/mail/static/src/components/chat_window/chat_window.xml
@@ -2,7 +2,7 @@
<templates xml:space="preserve">
<t t-name="mail.ChatWindow" owl="1">
- <div class="o_ChatWindow" tabindex="0"
+ <div class="o_ChatWindow" tabindex="0" t-att-data-visible-index="chatWindow ? chatWindow.visibleIndex : undefined"
t-att-class="{
'o-focused': chatWindow and chatWindow.isFocused,
'o-folded': chatWindow and chatWindow.isFolded,