[FIX] mail: defined event other wise it will only works on chrome

This commit is contained in:
Rohan Patel
2016-12-23 08:28:26 +01:00
committed by Aaron Bohy
parent cfecb52beb
commit 4c04a723fb
@@ -48,7 +48,7 @@ return ChatWindow.extend({
on_keydown: function (event) {
event.stopPropagation();
},
on_click_expand: _.debounce(function () {
on_click_expand: _.debounce(function (event) {
event.preventDefault();
var options = {clear_breadcrumbs: true, active_id: this.channel_id};
this.do_action('mail.mail_channel_action_client_chat', options).then(function () {