]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Patch by jay@invengen.com -- fixed bug 4106 (was busting on IE).
authorterry%netscape.com <>
Fri, 9 Apr 1999 11:19:14 +0000 (11:19 +0000)
committerterry%netscape.com <>
Fri, 9 Apr 1999 11:19:14 +0000 (11:19 +0000)
query.cgi

index 38d95589b79348eaaf64656449624565f2ea455a..f98360b661d618cfe5b82c2bad90180620b26fb6 100755 (executable)
--- a/query.cgi
+++ b/query.cgi
@@ -197,6 +197,9 @@ my $jscript = << 'ENDSCRIPT';
 <!--
 var cpts = new Array();
 var vers = new Array();
+// Apparently, IE4 chokes on the below, so do nothing if running that.
+var agt=navigator.userAgent.toLowerCase();
+if ((agt.indexOf("msie") == -1)) {
 ENDSCRIPT
 
 
@@ -227,6 +230,7 @@ for $p (@::legal_product) {
 $i = 0;
 $jscript .= q{
 
+\} // end IE4 choke around
 // Only display versions/components valid for selected product(s)
 
 function selectProduct(f) {