We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Double Click Client Event triggering Twice

Hi, 

Would like to know why when we have a double click event on the diagram, it triggers correctly, but it is triggering twice every time it does.
Sample code as below:

function DoubleClick() {
//triggering twice
                var diagramObj = $("#DiagramControlDiagram").data("ejDiagram");
                positioned();

                var idNode = diagramObj.selectionList[0];
                console.log(idNode);

                var params = "{'id':'" + idNode.name + "'}";

                $.ajax({
                    type: "POST",
                    url: "pageViewer.aspx/GetNodeData",
                    data: params,
                    contentType: "application/json;charset=utf-8",
                    dataType: "json",
                    success: onSucess,
                    error: onError
                });


                
            }

//success
function onSucess(result) {
               
//Success event that is also triggering twice

            }

1 Reply

SG Shyam G Syncfusion Team September 29, 2014 11:15 AM UTC

Hi Chong

Thanks for using syncfusion products.

We have confirmed that the issue with Issue with elements double click event. is a defect and we have logged a defect report. The fix for this issue is estimated to be available on volume 3 release, which is scheduled to release in the month of October.

Please let me know if any concerns.

Regards,

Shyam G


Loader.
Up arrow icon