projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
534da7c
)
[REM] doubleclick workaround for webkit since underlying onclick breakage was worked...
author
Xavier Morel
<xmo@openerp.com>
Wed, 26 Oct 2011 12:20:59 +0000
(14:20 +0200)
committer
Xavier Morel
<xmo@openerp.com>
Wed, 26 Oct 2011 12:20:59 +0000
(14:20 +0200)
bzr revid: xmo@openerp.com-
20111026122059
-w7ak1cvkyfkyrqug
addons/web_diagram/static/lib/js/dracula_graph.js
patch
|
blob
|
history
diff --git
a/addons/web_diagram/static/lib/js/dracula_graph.js
b/addons/web_diagram/static/lib/js/dracula_graph.js
index
46096e0
..
2826998
100644
(file)
--- a/
addons/web_diagram/static/lib/js/dracula_graph.js
+++ b/
addons/web_diagram/static/lib/js/dracula_graph.js
@@
-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);