summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2009-12-04 14:18:53 +0000
committerErmal Luçi <eri@pfsense.org>2009-12-04 14:18:53 +0000
commitc1dc065287d3d9167178b5477731868e597f1240 (patch)
treea365e7e4db4dc695016bf848f25cf9d67bc81629 /usr
parent9b45f82198894b23189e65a7117b2dce45b21904 (diff)
downloadpfsense-c1dc065287d3d9167178b5477731868e597f1240.zip
pfsense-c1dc065287d3d9167178b5477731868e597f1240.tar.gz
Make all autocompletes in there case insensitive.
Diffstat (limited to 'usr')
-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