From 6a167eb492a22e7b90a2202063d5923a5051e4ea Mon Sep 17 00:00:00 2001 From: Ehsan Akhgari Date: Tue, 22 Feb 2011 11:10:02 -0500 Subject: Replace all instances of '+' with ' ' when filling in the quicksearch fields --- data/js/bug-page-mod.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'data') 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) { -- cgit