nl_tokens: Delete all objects with thi id s in the id array and call success ( ... ) or err ( ... ) on success / failure
pl_tokens: function ( idAry , success , err ) { var result = [ ] ; for ( var i = 0 ; i < idAry . length ; i ++ ) { var found = false ; var Id = idAry [ i ] ; for ( var type in this . schema ) { var allOfType = sforce . <mask> . getSobjects ( type ) ; if ( Id in allOfType ) { delete allOfType [ Id ] ; found = true ; result . push ( { success : 'true' , id : Id } ) ; break ; } } if ( ! found ) result . push ( { success : 'false' , id : Id } ) ; } if ( success ) success ( result ) ; return result ; }