Minor update

This commit is contained in:
James Cole
2024-10-14 19:55:43 +02:00
parent 9463285ac9
commit 50d3db0643
7 changed files with 21 additions and 19 deletions

View File

@@ -131,7 +131,7 @@ function initRevenueACField(fieldName) {
}
});
sourceNames.initialize();
$('input[name="' + fieldName + '"]').typeahead({hint: true, highlight: true,}, {source: sourceNames, displayKey: 'name', autoSelect: false});
$('input[name="' + fieldName + '"]').typeahead({hint: true, highlight: true,}, {source: sourceNames, displayKey: 'name', autoselect: true});
}
}
@@ -161,5 +161,5 @@ function initCategoryAC() {
}
});
categories.initialize();
$('input[name="category"]').typeahead({hint: true, highlight: true,}, {source: categories, displayKey: 'name', autoSelect: false});
$('input[name="category"]').typeahead({hint: true, highlight: true,}, {source: categories, displayKey: 'name', autoselect: true});
}

6
public/v1/js/lib/typeahead/bloodhound.js Normal file → Executable file
View File

@@ -1,7 +1,7 @@
/*!
* typeahead.js 1.3.1
* typeahead.js 1.3.3
* https://github.com/corejavascript/typeahead.js
* Copyright 2013-2020 Twitter, Inc. and other contributors; Licensed MIT
* Copyright 2013-2024 Twitter, Inc. and other contributors; Licensed MIT
*/
@@ -159,7 +159,7 @@
noop: function() {}
};
}();
var VERSION = "1.3.1";
var VERSION = "1.3.3";
var tokenizers = function() {
"use strict";
return {

6
public/v1/js/lib/typeahead/bloodhound.min.js vendored Normal file → Executable file

File diff suppressed because one or more lines are too long

7
public/v1/js/lib/typeahead/typeahead.bundle.js Normal file → Executable file
View File

@@ -1,7 +1,7 @@
/*!
* typeahead.js 1.3.1
* typeahead.js 1.3.3
* https://github.com/corejavascript/typeahead.js
* Copyright 2013-2020 Twitter, Inc. and other contributors; Licensed MIT
* Copyright 2013-2024 Twitter, Inc. and other contributors; Licensed MIT
*/
@@ -159,7 +159,7 @@
noop: function() {}
};
}();
var VERSION = "1.3.1";
var VERSION = "1.3.3";
var tokenizers = function() {
"use strict";
return {
@@ -1446,6 +1446,7 @@
});
this.$input.attr({
"aria-owns": id + "_listbox",
"aria-controls": id + "_listbox",
role: "combobox",
"aria-autocomplete": "list",
"aria-expanded": false

6
public/v1/js/lib/typeahead/typeahead.bundle.min.js vendored Normal file → Executable file

File diff suppressed because one or more lines are too long

5
public/v1/js/lib/typeahead/typeahead.jquery.js Normal file → Executable file
View File

@@ -1,7 +1,7 @@
/*!
* typeahead.js 1.3.1
* typeahead.js 1.3.3
* https://github.com/corejavascript/typeahead.js
* Copyright 2013-2020 Twitter, Inc. and other contributors; Licensed MIT
* Copyright 2013-2024 Twitter, Inc. and other contributors; Licensed MIT
*/
@@ -499,6 +499,7 @@
});
this.$input.attr({
"aria-owns": id + "_listbox",
"aria-controls": id + "_listbox",
role: "combobox",
"aria-autocomplete": "list",
"aria-expanded": false

6
public/v1/js/lib/typeahead/typeahead.jquery.min.js vendored Normal file → Executable file

File diff suppressed because one or more lines are too long