diff options
| author | Christophe Simonis <chs@odoo.com> | 2016-04-25 13:33:01 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2016-04-25 13:33:01 +0200 |
| commit | 4d337f72ed59d1e5260fa2bb4f3d238e6ed11415 (patch) | |
| tree | 27c372b98741474c11d4867f90e4e94b6af05cde /addons/mail/static/src/js/chat_manager.js | |
| parent | 7b1c208d5fba483b0ffa95319ebda323bc20ceb0 (diff) | |
| parent | ac7beb3d7bd356042f046d7fc22ad261eedf33e7 (diff) | |
[MERGE] forward port of branch 9.0 up to ac7beb3
Diffstat (limited to 'addons/mail/static/src/js/chat_manager.js')
| -rw-r--r-- | addons/mail/static/src/js/chat_manager.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/mail/static/src/js/chat_manager.js b/addons/mail/static/src/js/chat_manager.js index cb9794b07bc..4ce7e245920 100644 --- a/addons/mail/static/src/js/chat_manager.js +++ b/addons/mail/static/src/js/chat_manager.js @@ -84,7 +84,7 @@ function notify_incoming_message (msg, options) { web_client.set_title_part("_chat", tab_title); } - if (Notification && Notification.permission === "granted") { + if (window.Notification && Notification.permission === "granted") { if (bus.is_master) { send_native_notification(title, content); } |
