diff options
author | terry%netscape.com <> | 1999-03-25 06:59:26 +0100 |
---|---|---|
committer | terry%netscape.com <> | 1999-03-25 06:59:26 +0100 |
commit | 889ac60beb371ebd0fe5e239a2848c850f8faa6f (patch) | |
tree | 85ebe3f3bb7995a11e70b96fbbabd07a0b5201dc /query.cgi | |
parent | 19ca3aa8dbc4f551836cd0dac9150118c9128ee1 (diff) | |
download | bugzilla-889ac60beb371ebd0fe5e239a2848c850f8faa6f.tar.gz bugzilla-889ac60beb371ebd0fe5e239a2848c850f8faa6f.tar.xz |
Don't try to run our javascript if running on IE4.
Diffstat (limited to 'query.cgi')
-rwxr-xr-x | query.cgi | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -225,11 +225,16 @@ for $p (@::legal_product) { } $i = 0; -$jscript .= " +$jscript .= q{ // Only display versions/components valid for selected product(s) function selectProduct(f) { + // Apparently, IE4 chokes on the below, so do nothing if running that. + var agt=navigator.userAgent.toLowerCase(); + if ((agt.indexOf("msie") != -1) && + (parseInt(navigator.appVersion) == 4)) return; + var cnt = 0; var i; var j; @@ -309,7 +314,9 @@ function selectProduct(f) { } // --> -</script>\n"; +</script> + +}; |