summaryrefslogtreecommitdiffstats
path: root/query.cgi
diff options
context:
space:
mode:
authorterry%netscape.com <>1999-04-09 13:19:14 +0200
committerterry%netscape.com <>1999-04-09 13:19:14 +0200
commitd8579a0478fdd95951cd5b72c91b1560fa2f8f9f (patch)
tree1969c54e4c46f61a4d3636906f32bcccb1789475 /query.cgi
parent09a62e442b2d5665434ad87ff1f5198aad36d648 (diff)
downloadbugzilla-d8579a0478fdd95951cd5b72c91b1560fa2f8f9f.tar.gz
bugzilla-d8579a0478fdd95951cd5b72c91b1560fa2f8f9f.tar.xz
Patch by jay@invengen.com -- fixed bug 4106 (was busting on IE).
Diffstat (limited to 'query.cgi')
-rwxr-xr-xquery.cgi4
1 files changed, 4 insertions, 0 deletions
diff --git a/query.cgi b/query.cgi
index 38d95589b..f98360b66 100755
--- 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) {