summaryrefslogtreecommitdiff
path: root/addons/mail/static/src
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2019-08-06 18:29:20 +0200
committerChristophe Simonis <chs@odoo.com>2019-08-06 18:48:24 +0200
commit7d04dc1c7c51dfd18951912628b14bee446a2b01 (patch)
treee89601e493bea092239df55a5ef406b2e05d7d7b /addons/mail/static/src
parentb091014686d86ad793e2d1cbf0e7ffea8fbde361 (diff)
parent9e74730a26b09fa4e516bc0d76550f7c7c502fac (diff)
[MERGE] forward port branch saas-12.2 up to 9e74730a26b
Diffstat (limited to 'addons/mail/static/src')
-rw-r--r--addons/mail/static/src/js/emojis.js1
-rw-r--r--addons/mail/static/src/js/services/mail_notification_manager.js2
-rw-r--r--addons/mail/static/src/scss/composer.scss2
3 files changed, 4 insertions, 1 deletions
diff --git a/addons/mail/static/src/js/emojis.js b/addons/mail/static/src/js/emojis.js
index 54b995f3bb6..f8684cde541 100644
--- a/addons/mail/static/src/js/emojis.js
+++ b/addons/mail/static/src/js/emojis.js
@@ -73,6 +73,7 @@ var data = {
"&lt;3": "❤️",
":heart": "❤️", // alt.
"</3": "💔",
+ "&lt;/3": "💔",
":heart_eyes": "😍",
":turban": "👳",
":+1": "👍",
diff --git a/addons/mail/static/src/js/services/mail_notification_manager.js b/addons/mail/static/src/js/services/mail_notification_manager.js
index c22276867b1..8b9b10b2de5 100644
--- a/addons/mail/static/src/js/services/mail_notification_manager.js
+++ b/addons/mail/static/src/js/services/mail_notification_manager.js
@@ -506,7 +506,7 @@ MailManager.include({
}
this._removeChannel(channel);
this._mailBus.trigger('unsubscribe_from_channel', data.id);
- this.do_notify(_("Unsubscribed"), message);
+ this.do_notify(_t("Unsubscribed"), message);
}
},
/**
diff --git a/addons/mail/static/src/scss/composer.scss b/addons/mail/static/src/scss/composer.scss
index 802236afd73..b1e78345d1f 100644
--- a/addons/mail/static/src/scss/composer.scss
+++ b/addons/mail/static/src/scss/composer.scss
@@ -227,6 +227,8 @@
.o_mail_emoji_container {
@include o-position-absolute(auto, 0, 100%, 0);
border-bottom-width: 1px;
+ max-height: calc(100vh - 100%);
+ overflow-y: auto;
}
}
.o_composer_input {