Confirmed users
266
edits
Allstars.chh (talk | contribs) |
Allstars.chh (talk | contribs) |
||
Line 712: | Line 712: | ||
// 'command' is got from onstkcommand | // 'command' is got from onstkcommand | ||
// and assume it's a Select Item command. | // and assume it's a Select Item command. | ||
var response = new MozStkResponse(command); | var response = new MozStkResponse(command.type, command.number, command.qualifier); | ||
response.resultCode = MozStkResponse.RESULT_OK; | response.resultCode = MozStkResponse.RESULT_OK; | ||
// 'id' is got from the chosen item identifier (menu.item[].identifier) | // 'id' is got from the chosen item identifier (menu.item[].identifier) |