[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:
Xavier Morel
2011-10-26 14:05:09 +02:00
parent c3a3905698
commit 08e6b980b6
@@ -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();
}
};