WebAPI/WebSTK: Difference between revisions

Line 732: Line 732:
// onTextInput is the callback when user inputs complete.
// onTextInput is the callback when user inputs complete.
function onTextInput(input) {
function onTextInput(input) {
   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.input = input;
   response.input = input;
Confirmed users
266

edits