The onJobStatusChange() event handler provides global notification of job status changes.
This method is typically used to call reset(), if a job is canceled.
onJobStatusChange( event , status )
|
event |
Object |
A jQuery event object. |
|
status |
String |
Job status: (Default) "cancel" = call reset() . |
Undefined
onJobStatusChange: function(event, status) {
if (status == 'cancel') {
this.reset();
}
}