Application Framework Reference

Module API

onJobStatusChange()

The onJobStatusChange() event handler provides global notification of job status changes.

This method is typically used to call reset(), if a job is canceled.

Synopsis

onJobStatusChange( event , status )

Parameters

event

Object

A jQuery event object.

status

String

Job status:

(Default) "cancel" = call reset() .

Return Value

Undefined

Example

onJobStatusChange: function(event, status) {
    if (status == 'cancel') {
        this.reset(); 
    }  
}
 

See Also

onJobDone()
onJobProgress()