onBeforeEventChanged : the 4rd param seems to be never given

Hi,

The documentation tells :

onBeforeEventChanged
void onBeforeEventChanged(object ev, event e, flag, object ev_old){ … };

It is very convenient to be able to compare modified event (ev) and old one (ev_old).

But the “ev_old” object seems to be never set (seems to be never passed as param in the function when the event is triggered).

Taking a look at above line seems to confirm this.

@see in scheduler._on_mouse_up=function(e){}
in line : if (!this.callEvent("onBeforeEventChanged",[ev, e, is_new])){
// no ev_old as 4rd param ?

Regards.

Hello,
it is a known bug. It’s currently fixed in a dev version, we’ll update packages on site soon.
Check the latest build
s3.amazonaws.com/uploads.hipcha … 130913.zip

Hello,
Thanks, that will be perfect so !