From: terry%mozilla.org <> Date: Wed, 16 Feb 2000 02:56:31 +0000 (+0000) Subject: Patches by Ken Jenks and jug@tellux.de -- make the Javascript... X-Git-Tag: bugzilla-2.12~387 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b018c7a450aef5c381b320bc6aa2a60d6fa1fdd1;p=thirdparty%2Fbugzilla.git Patches by Ken Jenks and jug@tellux.de -- make the Javascript behave under IE5 and under Netscape 3.x --- diff --git a/CGI.pl b/CGI.pl index 39cdbca129..157f7a9fff 100644 --- a/CGI.pl +++ b/CGI.pl @@ -734,7 +734,7 @@ name=PleaseMailAPassword> sub PutHeader { - my ($title, $h1, $h2, $extra, $ignoreshutdown) = (@_); + my ($title, $h1, $h2, $extra, $ignoreshutdown, $jscript) = (@_); if (!defined $h1) { $h1 = $title; @@ -745,9 +745,10 @@ sub PutHeader { if (!defined $extra) { $extra = ""; } + $jscript ||= ""; print "\n$title\n"; - print Param("headerhtml") . "\n\n"; + print Param("headerhtml") . "\n$jscript\n\n"; print "\n";