From: gerv%gerv.net <> Date: Sat, 13 Oct 2001 03:54:26 +0000 (+0000) Subject: Bug 100490 - better error message with no JavaScript for QuickSearch. Patch by afrank... X-Git-Tag: bugzilla-2.14.1~77 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f74dbc9daa8343db3df6855b2f48ddb6357ca626;p=thirdparty%2Fbugzilla.git Bug 100490 - better error message with no JavaScript for QuickSearch. Patch by afranke, r=kiko, gerv. --- diff --git a/CGI.pl b/CGI.pl index 42b0c4af6d..9beaaa3aa1 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 " . + "here.") && exit; # Get the values of the usergroupset and userid global variables