[FIX] onclick not going through correctly if set.toFront is called in onmousedown handler, in webkit-based browsers
bzr revid: xmo@openerp.com-20111026120509-wmj3onhkrnps6xee
This commit is contained in:
@@ -164,7 +164,7 @@ Graph.Renderer.Raphael = function(element, graph, width, height) {
|
||||
this.dx = e.clientX;
|
||||
this.dy = e.clientY;
|
||||
selfRef.isDrag = this;
|
||||
this.set && this.set.animate({"fill-opacity": .1}, 200) && this.set.toFront();
|
||||
this.set && this.set.animate({"fill-opacity": .1}, 200);
|
||||
e.preventDefault && e.preventDefault();
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user