double click & dragend funtion act as the same

scheduler.attachEvent(“onDragEnd”, function(id, mode, e) {

this function calling for the mouse double click too. I want this happen only for the mouse drag.
please send me the solution for this . :slight_smile:

thanks .

onDragEnd may fire because of mouse-move events happening during double click.
If you want to trace drag and drop, try using onBeforeEventChanged … event.html

However, it happens earlier than onDragEnd and changes may be canceled on this stage