diff options
author | Ehsan Akhgari <ehsan@mozilla.com> | 2011-02-22 11:10:02 -0500 |
---|---|---|
committer | Ehsan Akhgari <ehsan@mozilla.com> | 2011-02-22 11:10:02 -0500 |
commit | 6a167eb492a22e7b90a2202063d5923a5051e4ea (patch) | |
tree | 14343c24192185c50123cbd9c238abdb40e77302 | |
parent | ee905fd9a069918ea2e24dbdf22943676e60f607 (diff) | |
download | bugzilla-triage-6a167eb492a22e7b90a2202063d5923a5051e4ea.tar.gz |
Replace all instances of '+' with ' ' when filling in the quicksearch fields
-rw-r--r-- | data/js/bug-page-mod.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/js/bug-page-mod.js b/data/js/bug-page-mod.js index 015785a..a75e776 100644 --- a/data/js/bug-page-mod.js +++ b/data/js/bug-page-mod.js @@ -594,7 +594,7 @@ function quicksearchHandler(doc) { var win = doc.defaultView; var match = /quicksearch=([^&]+)/i.exec(win.location.search); if (match) { - var quicksearch = unescape(match[1].replace('+', ' ')); + var quicksearch = unescape(match[1].replace('+', ' ', 'g')); var quicksearchBox = doc.querySelectorAll("input[name=quicksearch]"); if (quicksearchBox) { for (var i = 0; i < quicksearchBox.length; ++i) { |