mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Working on speech rec
This commit is contained in:
parent
025c9abc90
commit
276200ad3c
@ -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…
x
Reference in New Issue
Block a user