Commit f74dbc9d authored by gerv%gerv.net's avatar gerv%gerv.net

Bug 100490 - better error message with no JavaScript for QuickSearch. Patch by…

Bug 100490 - better error message with no JavaScript for QuickSearch. Patch by afranke, r=kiko, gerv.
parent 6c78da47
......@@ -240,7 +240,10 @@ sub ValidateBugID {
# Make sure the bug number is a positive integer.
# Whitespace can be ignored because the SQL server will ignore it.
$id =~ /^\s*([1-9][0-9]*)\s*$/
|| DisplayError("The bug number is invalid.")
|| DisplayError("The bug number is invalid. If you are trying to use " .
"QuickSearch, you need to enable JavaScript in your " .
"browser. To help us fix this limitation, look " .
"<a href=\"http://bugzilla.mozilla.org/show_bug.cgi?id=70907\">here</a>.")
&& exit;
# Get the values of the usergroupset and userid global variables
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment