called when server side response received and processed
statusObj | object | object with item ID and operation status |
text | string | full text of server side response |
data | object | AJAX response object |
loader | object | AJAX loader object |
dp.attachEvent("onAfterSync", function(statusObj, text, data, loader){
//... some code here ...
});
The first parameter, object looks like:
{
id:1,
status:"insert" //or "update", "delete"
}