OnBeforeUpdate not being called

I am using the onBeforeUpdate event to trap when a drag and drop is performed. The code I have is

_dataProcessor = new dataProcessor("/Appointment/Appointments/Save");
_dataProcessor.init(scheduler);
_dataProcessor.setTransactionMode(“POST”, false);
_dataProcessor.attachEvent(“onBeforeUpdate”, function (e, i, data, y, z) {
// … Do some stuff here
});

Now 95% of the time this is fine, but 5% of the time the onBeforeUpdate event will not be called. There are no Javascript errors and I am not sure what could cause this. Once it has stopped working it will not work again though until the page is reloaded.

Hi,
can you provide some kind of demo where we could reproduce the problem?
onBeforeUpdate will not be triggered if you call ‘dataprocessor.sendAllData’, you may try listening ‘onBeforeDataSending’ which should be fired always
docs.dhtmlx.com/api__dataprocess … event.html

Once it has stopped working it will not work again though until the page is reloaded.

Also, be sure to check the server side responses. If one of them was invalid ( not expected format, invalid sid and tid values, etc ) then it may stop further data sending