From: justdave%syndicomm.com <> Date: Thu, 28 Jun 2001 23:27:37 +0000 (+0000) Subject: Fix for but 76073: - and + didn't work in quicksearch in IE and Opera X-Git-Tag: bugzilla-2.14~67 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de39ee26d3d38601a44583297f8c95ed34df865e;p=thirdparty%2Fbugzilla.git Fix for but 76073: - and + didn't work in quicksearch in IE and Opera Patch by Andreas Franke r= justdave@syndicomm.com --- diff --git a/quicksearch.js b/quicksearch.js index 7fa9a02f5b..7e4b851395 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