From 23f8d7e5c9859899afeea84bbf4cb1f5d3f25bfe Mon Sep 17 00:00:00 2001 From: niv-openerp Date: Fri, 30 Nov 2012 16:09:12 +0100 Subject: [PATCH] minor fix bzr revid: nicolas.vanhoren@openerp.com-20121130150912-wp0edl27fpvolibh --- addons/web_im/static/src/js/im.js | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/web_im/static/src/js/im.js b/addons/web_im/static/src/js/im.js index bba8ae4d27a..554c2c728c5 100644 --- a/addons/web_im/static/src/js/im.js +++ b/addons/web_im/static/src/js/im.js @@ -174,6 +174,7 @@ openerp.web_im = function(instance) { conv.on("destroyed", this, function() { this.conversations = _.without(this.conversations, conv); delete this.users[conv.user_rec.id]; + this.calc_positions(); }); this.conversations.push(conv); this.users[user_rec.id] = conv;