Confirmed users
266
edits
Allstars.chh (talk | contribs) |
Allstars.chh (talk | contribs) |
||
Line 753: | Line 753: | ||
// onUserConfirm is the callback when user confirms the call. | // onUserConfirm is the callback when user confirms the call. | ||
function onUserConfirm(confirm) { | function onUserConfirm(confirm) { | ||
var response = new MozStkResponse(command); | var response = new MozStkResponse(command.number, command.type, command.qualifier); | ||
response.resultCode = MozStkResponse.RESULT_OK; | response.resultCode = MozStkResponse.RESULT_OK; | ||
response.confirmation = confirm; | response.confirmation = confirm; |