summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjustdave%syndicomm.com <>2001-06-29 01:27:37 +0200
committerjustdave%syndicomm.com <>2001-06-29 01:27:37 +0200
commitde39ee26d3d38601a44583297f8c95ed34df865e (patch)
tree383b882fc3ab6b9e3db9a317134bfffcccf9c04d
parentc08d220d3a39f92df2bd951817fd7b674a3278da (diff)
downloadbugzilla-de39ee26d3d38601a44583297f8c95ed34df865e.tar.gz
bugzilla-de39ee26d3d38601a44583297f8c95ed34df865e.tar.xz
Fix for but 76073: - and + didn't work in quicksearch in IE and Opera
Patch by Andreas Franke <afranke@ags.uni-sb.de> r= justdave@syndicomm.com
-rw-r--r--quicksearch.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/quicksearch.js b/quicksearch.js
index 7fa9a02f5..7e4b85139 100644
--- a/quicksearch.js
+++ b/quicksearch.js
@@ -453,12 +453,12 @@ function make_query_URL(url, input, searchLong) {
w = word[i];
negation = false;
- if (w[0] == "-") {
+ if (w.charAt(0) == "-") {
negation = true;
w = w.substring(1);
}
- switch (w[0]) {
+ switch (w.charAt(0)) {
case "+":
alternative = w.substring(1).split(/[|,]/);
for (j=0; j<alternative.length; j++)