From 7eceed5fba2c28173c7b7541ab43e18c0148c30b Mon Sep 17 00:00:00 2001 From: "Bhumi Thakkar (Open ERP)" Date: Tue, 19 Jun 2012 12:11:09 +0530 Subject: [PATCH] [FIX] click and hover events add for close circle and label. bzr revid: bth@tinyerp.com-20120619064109-jxnabvv90oszu4w7 --- addons/web_diagram/static/src/js/graph.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/addons/web_diagram/static/src/js/graph.js b/addons/web_diagram/static/src/js/graph.js index b61b2bf7a6b..bfe5796c0f0 100644 --- a/addons/web_diagram/static/src/js/graph.js +++ b/addons/web_diagram/static/src/js/graph.js @@ -75,6 +75,8 @@ dummy_circle.animate({'r': close_button_radius},400,'linear'); } dummy_circle.hover(hover_in,hover_out); + close_circle.hover(hover_in,hover_out); + close_label.hover(hover_in,hover_out); function click_action(){ if(!visible){ return; } @@ -97,6 +99,8 @@ } } dummy_circle.click(click_action); + close_circle.click(click_action); + close_label.click(click_action); this.show = function(){ if(!visible){