summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/xml/systray.xml
diff options
context:
space:
mode:
authorAlexandre Kühn <aku@odoo.com>2019-09-17 15:10:01 +0000
committerAlexandre Kühn <aku@odoo.com>2019-09-18 10:07:20 +0000
commit9a66619db33fca5f0cb81d9f6bfeb0fb0290cf68 (patch)
tree7f89fa455784ec93ec9d003f515b0d0ea5834a17 /addons/mail/static/src/xml/systray.xml
parent3dd2e7c2ef34d76a953089c5a0939ecf3152498e (diff)
[FIX] mail: no wait init_messaging before loading webclient
Before this commit, discuss widgets had to wait for the route `mail/init_messaging`. This behaviour slowed down the loading of the web client. This commit solves the issue by rendering discuss widgets even when `mail/init_messaging` hasn't been resolved. For instance, the messaging menu displays a spinner until messaging becomes ready. Task-Id 2072835 closes odoo/odoo#37031 Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
Diffstat (limited to 'addons/mail/static/src/xml/systray.xml')
-rw-r--r--addons/mail/static/src/xml/systray.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/mail/static/src/xml/systray.xml b/addons/mail/static/src/xml/systray.xml
index db591b31c59..a5677f9da9f 100644
--- a/addons/mail/static/src/xml/systray.xml
+++ b/addons/mail/static/src/xml/systray.xml
@@ -7,7 +7,7 @@
<t t-name="mail.systray.MessagingMenu">
<li class="o_mail_systray_item">
<a class="dropdown-toggle o-no-caret" data-toggle="dropdown" data-display="static" aria-expanded="false" title="Conversations" href="#" role="button">
- <i class="fa fa-comments" role="img" aria-label="Messages"/> <span class="o_notification_counter badge badge-pill"/>
+ <i class="o_mail_messaging_menu_icon fa fa-comments fa-spinner fa-spin" role="img" aria-label="Messages"/> <span class="o_notification_counter badge badge-pill"/>
</a>
<div class="o_mail_systray_dropdown dropdown-menu dropdown-menu-right" role="menu">
<t t-if="widget.isMobile()">