[FIX] onclick not going through correctly if set.toFront is called in onmousedown...
authorXavier Morel <xmo@openerp.com>
Wed, 26 Oct 2011 12:05:09 +0000 (14:05 +0200)
committerXavier Morel <xmo@openerp.com>
Wed, 26 Oct 2011 12:05:09 +0000 (14:05 +0200)
bzr revid: xmo@openerp.com-20111026120509-wmj3onhkrnps6xee

addons/web_diagram/static/lib/js/dracula_graph.js

index df99458..ff8ba3a 100644 (file)
@@ -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();
         }
     };