Working on speech rec
This commit is contained in:
parent
025c9abc90
commit
276200ad3c
2 changed files with 4 additions and 3 deletions
|
|
@ -14,6 +14,7 @@ class NavigateToIntent extends BaseIntent
|
|||
|
||||
$map = [
|
||||
'report' => 'reports',
|
||||
'settings' => ACCOUNT_COMPANY_DETAILS,
|
||||
];
|
||||
|
||||
if (isset($map[$location])) {
|
||||
|
|
|
|||
|
|
@ -174,9 +174,9 @@
|
|||
function onMicrophoneClick() {
|
||||
//$('#search').val('create new invoice for edgar a po number of 1234');
|
||||
//$('#search').val('create a task for edgar');
|
||||
$('#search').val('go to localization');
|
||||
$('#search-form').submit();
|
||||
return;
|
||||
//$('#search').val('go to settings');
|
||||
//$('#search-form').submit();
|
||||
//return;
|
||||
|
||||
$('.fa-microphone').hide();
|
||||
$('#search').val("{{ trans('texts.listening') }}");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue