X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/08e820fa7a9aa4beae1da564b69a1362e6020121..bf980f4c:/bin/mozilla/oe.pl?ds=inline diff --git a/bin/mozilla/oe.pl b/bin/mozilla/oe.pl index 8f4f28ac4..4c2d05916 100644 --- a/bin/mozilla/oe.pl +++ b/bin/mozilla/oe.pl @@ -581,9 +581,9 @@ sub form_header { if ($form->{resubmit} && ($form->{format} eq "html")) { $dispatch_to_popup = "window.open('about:blank','Beleg'); document.oe.target = 'Beleg';"; $dispatch_to_popup .= "document.do.submit();"; - } elsif ($form->{resubmit}) { + } elsif ($form->{resubmit} && $form->{action_print}) { # emulate click for resubmitting actions - $dispatch_to_popup = "document.oe.${_}.click(); " for grep { /^action_/ } keys %$form; + $dispatch_to_popup = "kivi.SalesPurchase.show_print_dialog(); kivi.SalesPurchase.print_record();"; } elsif ($creditwarning) { $::request->{layout}->add_javascripts_inline("alert('$credittext');"); }