getorgchart - click event occuring twice

180 views Asked by At

I was experimenting with getorgchart library. It seems to me that the click is registered twice in it on both mouseup and mousedown. I added console.log on click event and observed two prints in the console onClick. Is this a bug and can there be some work around this?

Like so: http://jsfiddle.net/GetOrgChart/jzkj2tqc/

I changed this:

function clickHandler(sender, args) {
  alert("clicked node.id " + args.node.id);
}

to this:

function clickHandler(sender, args) {
  console.log("clicked node.id " + args.node.id);
}

and came to the conclusion.

1

There are 1 answers

1
BALKANGraph On

The issue has been fixed in the lates version 2.3.2