diff options
| author | Xavier Morel <xmo@openerp.com> | 2011-11-10 14:50:52 +0100 |
|---|---|---|
| committer | Xavier Morel <xmo@openerp.com> | 2011-11-10 14:50:52 +0100 |
| commit | a21a208e4c7a46ec7e7128ea6015cad251da5894 (patch) | |
| tree | 4c9437f4e3925ff9b401ece458339dede544f1c7 /addons/web_graph/static/src/js/graph.js | |
| parent | abf6f08df0ca88b741adde1f3a48309243b24ffa (diff) | |
[FIX] graph tooltips remaining on screen after clicking them
bzr revid: xmo@openerp.com-20111110135052-u6r2uw5o5pqdgzpm
Diffstat (limited to 'addons/web_graph/static/src/js/graph.js')
| -rw-r--r-- | addons/web_graph/static/src/js/graph.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/addons/web_graph/static/src/js/graph.js b/addons/web_graph/static/src/js/graph.js index 04e9d77f5d0..e183fc5cc43 100644 --- a/addons/web_graph/static/src/js/graph.js +++ b/addons/web_graph/static/src/js/graph.js @@ -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]; |
