mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-02-03 06:29:20 +00:00
Modify Domain Selector filter/search to be case INsensitive.
This commit is contained in:
@@ -764,7 +764,7 @@ table tr:nth-last-child(-5) td:first-of-type {
|
||||
|
||||
function domain_search(criteria) {
|
||||
for (var x = 0; x < domain_names.length; x++) {
|
||||
if (domain_names[x].match(criteria) || domain_descs[x].match(criteria)) {
|
||||
if (domain_names[x].toLowerCase().match(criteria.toLowerCase()) || domain_descs[x].toLowerCase().match(criteria.toLowerCase())) {
|
||||
document.getElementById(domain_names[x]).style.display = '';
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user