summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/models/thread
diff options
context:
space:
mode:
authorSébastien Theys <seb@odoo.com>2020-06-23 17:03:08 +0000
committerSébastien Theys <seb@odoo.com>2020-06-24 10:22:58 +0000
commit652d835f77da3e19eeb70a4a2fec46fd9bff8b46 (patch)
tree4811bc7e65eaacb5ad29eb715baac266567765d5 /addons/mail/static/src/models/thread
parentba744be93748063ac9b051509d99f6b582e0df20 (diff)
[FIX] mail: restore close of other menus on click of messaging menu
task-2278830 closes odoo/odoo#53566 X-original-commit: 0407151b34da16ca54066bb15e578dc1db85f365 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/models/thread')
-rw-r--r--addons/mail/static/src/models/thread/thread.js12
1 files changed, 0 insertions, 12 deletions
diff --git a/addons/mail/static/src/models/thread/thread.js b/addons/mail/static/src/models/thread/thread.js
index 210fa0cafd1..06c41652ff8 100644
--- a/addons/mail/static/src/models/thread/thread.js
+++ b/addons/mail/static/src/models/thread/thread.js
@@ -367,18 +367,6 @@ function factory(dependencies) {
}
/**
- * @static
- */
- static openNewMessage() {
- const discuss = this.env.messaging.discuss;
- if (discuss.isOpen) {
- discuss.openNewMessage();
- } else {
- this.env.messaging.chatWindowManager.openNewMessage();
- }
- }
-
- /**
* @param {string} [stringifiedDomain='[]']
* @returns {mail.thread_cache}
*/