summaryrefslogtreecommitdiff
path: root/bin/mozilla/pw.pl
diff options
context:
space:
mode:
Diffstat (limited to 'bin/mozilla/pw.pl')
-rwxr-xr-xbin/mozilla/pw.pl7
1 files changed, 4 insertions, 3 deletions
diff --git a/bin/mozilla/pw.pl b/bin/mozilla/pw.pl
index 1b219c8e..5ec4516d 100755
--- a/bin/mozilla/pw.pl
+++ b/bin/mozilla/pw.pl
@@ -18,19 +18,20 @@ sub getpassword {
my ($s) = @_;
$form->{endsession} = 1;
- $form->header;
$sessionexpired = qq|<b><font color=red><blink>|.$locale->text('Session expired!').qq|</blink></font></b><p>| if $s;
- print qq|
+ my $headeradd = qq|
<script language="JavaScript" type="text/javascript">
<!--
function sf(){
document.pw.password.focus();
}
// End -->
-</script>
+</script>|;
+ $form->header(undef, $headeradd);
+ print qq|
<body onload="sf()">
$sessionexpired