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 = [
|
$map = [
|
||||||
'report' => 'reports',
|
'report' => 'reports',
|
||||||
|
'settings' => ACCOUNT_COMPANY_DETAILS,
|
||||||
];
|
];
|
||||||
|
|
||||||
if (isset($map[$location])) {
|
if (isset($map[$location])) {
|
||||||
|
@ -174,9 +174,9 @@
|
|||||||
function onMicrophoneClick() {
|
function onMicrophoneClick() {
|
||||||
//$('#search').val('create new invoice for edgar a po number of 1234');
|
//$('#search').val('create new invoice for edgar a po number of 1234');
|
||||||
//$('#search').val('create a task for edgar');
|
//$('#search').val('create a task for edgar');
|
||||||
$('#search').val('go to localization');
|
//$('#search').val('go to settings');
|
||||||
$('#search-form').submit();
|
//$('#search-form').submit();
|
||||||
return;
|
//return;
|
||||||
|
|
||||||
$('.fa-microphone').hide();
|
$('.fa-microphone').hide();
|
||||||
$('#search').val("{{ trans('texts.listening') }}");
|
$('#search').val("{{ trans('texts.listening') }}");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user