[FIX] graph tooltips remaining on screen after clicking them

bzr revid: xmo@openerp.com-20111110135052-u6r2uw5o5pqdgzpm
This commit is contained in:
Xavier Morel 2011-11-10 14:50:52 +01:00
parent abf6f08df0
commit a21a208e4c
1 changed files with 2 additions and 3 deletions

View File

@ -373,9 +373,8 @@ openerp.web_graph.GraphView = openerp.web.View.extend({
},
open_list_view : function (id){
var self = this;
if($(".dhx_tooltip").is(":visible")) {
$(".dhx_tooltip").remove('div');
}
// unconditionally nuke tooltips before switching view
$(".dhx_tooltip").remove('div');
id = id[this.abscissa];
if (typeof id == 'object'){
id = id[0];