From 514cb5dc76a9505572fc4fe9503ba928fec00f10 Mon Sep 17 00:00:00 2001 From: niv-openerp Date: Tue, 12 Feb 2013 17:03:41 +0100 Subject: [PATCH] put "x messages" at the beginning of the title bzr revid: nicolas.vanhoren@openerp.com-20130212160341-4dngfcd3axk1kajx --- addons/web_im/static/src/js/im.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/web_im/static/src/js/im.js b/addons/web_im/static/src/js/im.js index 56b989cca15..053efc341d7 100644 --- a/addons/web_im/static/src/js/im.js +++ b/addons/web_im/static/src/js/im.js @@ -296,7 +296,7 @@ openerp.web_im = function(instance) { messages_change: function() { if (! instance.webclient.set_title_part) return; - instance.webclient.set_title_part("im_messages", this.get("waiting_messages") === 0 ? undefined : + instance.webclient.set_title_part("aa_im_messages", this.get("waiting_messages") === 0 ? undefined : _.str.sprintf(_t("%d Messages"), this.get("waiting_messages"))); }, activate_user: function(user, focus) {