summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr/local/www/javascript/firewall_nat_edit/suggestions.js4
-rw-r--r--usr/local/www/javascript/firewall_rules_edit/suggestions.js4
-rw-r--r--usr/local/www/javascript/firewall_shaper_edit/suggestions.js4
-rw-r--r--usr/local/www/javascript/wizard/suggestions.js4
4 files changed, 8 insertions, 8 deletions
diff --git a/usr/local/www/javascript/firewall_nat_edit/suggestions.js b/usr/local/www/javascript/firewall_nat_edit/suggestions.js
index 1b30fff..4d1e127 100644
--- a/usr/local/www/javascript/firewall_nat_edit/suggestions.js
+++ b/usr/local/www/javascript/firewall_nat_edit/suggestions.js
@@ -22,7 +22,7 @@ StateSuggestions.prototype.requestSuggestions = function (oAutoSuggestControl /*
//search for matching states
for (var i=0; i < this.states.length; i++) {
- if (this.states[i].indexOf(sTextboxValue) == 0) {
+ if (this.states[i].toLowerCase().indexOf(sTextboxValue.toLowerCase()) == 0) {
aSuggestions.push(this.states[i]);
}
}
@@ -30,4 +30,4 @@ StateSuggestions.prototype.requestSuggestions = function (oAutoSuggestControl /*
//provide suggestions to the control
oAutoSuggestControl.autosuggest(aSuggestions, bTypeAhead);
-}; \ No newline at end of file
+};
diff --git a/usr/local/www/javascript/firewall_rules_edit/suggestions.js b/usr/local/www/javascript/firewall_rules_edit/suggestions.js
index 1b30fff..4d1e127 100644
--- a/usr/local/www/javascript/firewall_rules_edit/suggestions.js
+++ b/usr/local/www/javascript/firewall_rules_edit/suggestions.js
@@ -22,7 +22,7 @@ StateSuggestions.prototype.requestSuggestions = function (oAutoSuggestControl /*
//search for matching states
for (var i=0; i < this.states.length; i++) {
- if (this.states[i].indexOf(sTextboxValue) == 0) {
+ if (this.states[i].toLowerCase().indexOf(sTextboxValue.toLowerCase()) == 0) {
aSuggestions.push(this.states[i]);
}
}
@@ -30,4 +30,4 @@ StateSuggestions.prototype.requestSuggestions = function (oAutoSuggestControl /*
//provide suggestions to the control
oAutoSuggestControl.autosuggest(aSuggestions, bTypeAhead);
-}; \ No newline at end of file
+};
diff --git a/usr/local/www/javascript/firewall_shaper_edit/suggestions.js b/usr/local/www/javascript/firewall_shaper_edit/suggestions.js
index 1b30fff..4d1e127 100644
--- a/usr/local/www/javascript/firewall_shaper_edit/suggestions.js
+++ b/usr/local/www/javascript/firewall_shaper_edit/suggestions.js
@@ -22,7 +22,7 @@ StateSuggestions.prototype.requestSuggestions = function (oAutoSuggestControl /*
//search for matching states
for (var i=0; i < this.states.length; i++) {
- if (this.states[i].indexOf(sTextboxValue) == 0) {
+ if (this.states[i].toLowerCase().indexOf(sTextboxValue.toLowerCase()) == 0) {
aSuggestions.push(this.states[i]);
}
}
@@ -30,4 +30,4 @@ StateSuggestions.prototype.requestSuggestions = function (oAutoSuggestControl /*
//provide suggestions to the control
oAutoSuggestControl.autosuggest(aSuggestions, bTypeAhead);
-}; \ No newline at end of file
+};
diff --git a/usr/local/www/javascript/wizard/suggestions.js b/usr/local/www/javascript/wizard/suggestions.js
index 1b30fff..4d1e127 100644
--- a/usr/local/www/javascript/wizard/suggestions.js
+++ b/usr/local/www/javascript/wizard/suggestions.js
@@ -22,7 +22,7 @@ StateSuggestions.prototype.requestSuggestions = function (oAutoSuggestControl /*
//search for matching states
for (var i=0; i < this.states.length; i++) {
- if (this.states[i].indexOf(sTextboxValue) == 0) {
+ if (this.states[i].toLowerCase().indexOf(sTextboxValue.toLowerCase()) == 0) {
aSuggestions.push(this.states[i]);
}
}
@@ -30,4 +30,4 @@ StateSuggestions.prototype.requestSuggestions = function (oAutoSuggestControl /*
//provide suggestions to the control
oAutoSuggestControl.autosuggest(aSuggestions, bTypeAhead);
-}; \ No newline at end of file
+};
OpenPOWER on IntegriCloud