[REM] doubleclick workaround for webkit since underlying onclick breakage was worked around in revision xmo@openerp.com-20111026120509-wmj3onhkrnps6xee

bzr revid: xmo@openerp.com-20111026122059-w7ak1cvkyfkyrqug
This commit is contained in:
Xavier Morel
2011-10-26 14:20:59 +02:00
parent 534da7c07b
commit e8bc3209ae
@@ -160,13 +160,11 @@ Graph.Renderer.Raphael = function(element, graph, width, height) {
*/
this.isDrag = false;
this.dragger = function (e) {
if(e.detail < 2) {
this.dx = e.clientX;
this.dy = e.clientY;
selfRef.isDrag = this;
this.set && this.set.animate({"fill-opacity": .1}, 200);
e.preventDefault && e.preventDefault();
}
this.dx = e.clientX;
this.dy = e.clientY;
selfRef.isDrag = this;
this.set && this.set.animate({"fill-opacity": .1}, 200);
e.preventDefault && e.preventDefault();
};
var d = document.getElementById(element);