diff options
author | Ehsan Akhgari <ehsan@mozilla.com> | 2010-11-03 20:07:51 -0400 |
---|---|---|
committer | Ehsan Akhgari <ehsan@mozilla.com> | 2010-11-03 20:07:51 -0400 |
commit | ac8259981a6b8559c9675d0b7ccd657aa423e1b9 (patch) | |
tree | 5d2434a84eb6c1f45e8de134de8af1f04184a822 /lib/main.js | |
parent | 647da112c7223b483955abe60b1fb4c5f6a27d6b (diff) | |
download | bugzilla-triage-ac8259981a6b8559c9675d0b7ccd657aa423e1b9.tar.gz |
Replace + signs in the quicksearch parameter with spaces
Diffstat (limited to 'lib/main.js')
-rw-r--r-- | lib/main.js | 2 |
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) { |