fix voice dialog cancellation
This commit is contained in:
parent
862f95b5a9
commit
91c2c391a4
1 changed files with 1 additions and 1 deletions
|
@ -166,11 +166,11 @@ define(['dialogHelper', './voicereceiver', './voiceprocessor', 'globalize', 'emb
|
|||
currentDialog = dlg;
|
||||
|
||||
dlg.addEventListener('close', function () {
|
||||
voicereceiver.cancel();
|
||||
currentDialog = null;
|
||||
});
|
||||
|
||||
function onCancelClick() {
|
||||
voicereceiver.cancel();
|
||||
dialogHelper.close(dlg);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue