[FIX] im: small graphical bug when we click on an already opened contact

bzr revid: nicolas.vanhoren@openerp.com-20130423092520-hoqpi01li03yjmrm
This commit is contained in:
niv-openerp 2013-04-23 11:25:20 +02:00
parent 33f27b362b
commit 8590e68b2b
1 changed files with 2 additions and 0 deletions

View File

@ -450,6 +450,8 @@ openerp.im = function(instance) {
},
focus: function() {
this.$(".oe_im_chatview_input").focus();
if (! this.shown)
this.show_hide();
},
destroy: function() {
this.user.remove_watcher();