aboutsummaryrefslogtreecommitdiffstats
path: root/lib/main.js
diff options
context:
space:
mode:
authorEhsan Akhgari <ehsan@mozilla.com>2010-11-03 20:07:51 -0400
committerEhsan Akhgari <ehsan@mozilla.com>2010-11-03 20:07:51 -0400
commitac8259981a6b8559c9675d0b7ccd657aa423e1b9 (patch)
tree5d2434a84eb6c1f45e8de134de8af1f04184a822 /lib/main.js
parent647da112c7223b483955abe60b1fb4c5f6a27d6b (diff)
downloadbugzilla-triage-ac8259981a6b8559c9675d0b7ccd657aa423e1b9.tar.gz
Replace + signs in the quicksearch parameter with spaces
Diffstat (limited to 'lib/main.js')
-rw-r--r--lib/main.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/main.js b/lib/main.js
index 335edc8..540ae2f 100644
--- a/lib/main.js
+++ b/lib/main.js
@@ -560,7 +560,7 @@ function quicksearchHandler(doc) {
var win = doc.defaultView;
var match = /quicksearch=([^&]+)/i.exec(win.location.search);
if (match) {
- var quicksearch = unescape(match[1]);
+ var quicksearch = unescape(match[1].replace('+', ' '));
var quicksearchBox = doc.querySelectorAll("input[name=quicksearch]");
if (quicksearchBox) {
for (var i = 0; i < quicksearchBox.length; ++i) {