[IMP] Added Systray tooltips

bzr revid: fme@openerp.com-20120301095807-w8xi6b36adf1ky1z
This commit is contained in:
Fabien Meghazi 2012-03-01 10:58:07 +01:00
parent e71848cee4
commit bedb2d9596
1 changed files with 3 additions and 0 deletions

View File

@ -1019,6 +1019,9 @@ openerp.web.WebClient = openerp.web.Widget.extend(/** @lends openerp.web.WebClie
document.title = version_label;
}
});
this.$element.on('mouseenter', '.oe_systray > div:not([data-tipsy=true])', function() {
$(this).attr('data-tipsy', 'true').tipsy().trigger('mouseenter');
});
},
show_login: function() {
var self = this;