fires after successfull data deletion
response | object | json object with details of server side response |
id | id | old id of related item |
details | object | object which holds state of data saving |
dp.attachEvent("onAfterDelete", function(response, id, object){
//... some code here ...
});
1 . The response parameter contains the following info about saved data item:
2 . The id parameter contains old (clientside) item ID.
3 . The details parameter contains data saving details, namely:
Will not fire for "error" or "invalid" responses.
If server side response with custom type - custom event will be called.
//for such response
{ id:"123", status:"custom" }
//the onAfterCustom event will be called