summaryrefslogtreecommitdiffstats
path: root/CGI.pl
diff options
context:
space:
mode:
authorgerv%gerv.net <>2001-10-13 05:54:26 +0200
committergerv%gerv.net <>2001-10-13 05:54:26 +0200
commitf74dbc9daa8343db3df6855b2f48ddb6357ca626 (patch)
treed985cbd3fccd0ff03da2812f5120bf602e2f2751 /CGI.pl
parent6c78da4748130527b3e0e346761acc24080cf518 (diff)
downloadbugzilla-f74dbc9daa8343db3df6855b2f48ddb6357ca626.tar.gz
bugzilla-f74dbc9daa8343db3df6855b2f48ddb6357ca626.tar.xz
Bug 100490 - better error message with no JavaScript for QuickSearch. Patch by afranke, r=kiko, gerv.
Diffstat (limited to 'CGI.pl')
-rw-r--r--CGI.pl5
1 files changed, 4 insertions, 1 deletions
diff --git a/CGI.pl b/CGI.pl
index 42b0c4af6..9beaaa3aa 100644
--- a/CGI.pl
+++ b/CGI.pl
@@ -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