nl_tokens: Run any callbacks related to the transaction .
pl_tokens: function ( transaction , event ) { var success = ! ! event . getStatus ( ) , functionName = success ? 'success' : 'failure' , callback = transaction && transaction . getCallback ( ) , result ; if ( callback ) { // this doesnt make any sense. why do we have both result and data? // result = Ext.isDefined(event.getResult()) ? event.result : event.data; result = event . getResult ( ) ; if ( Ext . isFunction ( callback ) ) { callback ( result , event , success ) ; } else { Ext . callback ( callback [ functionName ] , callback . scope , [ result , event , success ] ) ; Ext . callback ( callback . callback , callback . scope , [ result , <mask> , success ] ) ; } } }