summaryrefslogtreecommitdiffstats
path: root/query.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'query.cgi')
-rwxr-xr-xquery.cgi11
1 files changed, 9 insertions, 2 deletions
diff --git a/query.cgi b/query.cgi
index 08ac3f224..3e8ea9e91 100755
--- a/query.cgi
+++ b/query.cgi
@@ -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>
+
+};