X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/a14a3ff56b00e22c39a2cfb0e465f8c7764a4cd4..6277aefffea29c8aa6f684bd86c55cdc6366f32f:/bin/mozilla/is.pl diff --git a/bin/mozilla/is.pl b/bin/mozilla/is.pl index 5901ab074..0334843f9 100644 --- a/bin/mozilla/is.pl +++ b/bin/mozilla/is.pl @@ -244,11 +244,9 @@ sub prepare_invoice { if ($form->{type} eq "credit_note") { $form->{type} = "credit_note"; $form->{formname} = "credit_note"; - $form->{media} = "screen"; } else { $form->{type} = "invoice"; $form->{formname} = "invoice"; - $form->{media} = "screen"; } if ($form->{id}) { @@ -582,6 +580,8 @@ sub form_header { $onload = qq|alert('$credittext')|; } + $form->{"javascript"} .= qq||; + $form->header; print qq| @@ -912,7 +912,7 @@ sub form_footer {