[FIX] click and hover events add for close circle and label.

bzr revid: bth@tinyerp.com-20120619064109-jxnabvv90oszu4w7
This commit is contained in:
Bhumi Thakkar (Open ERP) 2012-06-19 12:11:09 +05:30
parent 4d1eb70d75
commit 7eceed5fba
1 changed files with 4 additions and 0 deletions

View File

@ -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){