Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision c30c60a3

Von freiphone vor fast 7 Jahren hinzugefügt

  • ID c30c60a328930763ff3b68ade38b7a6175e5b9b9
  • Vorgänger 24bb9ded
  • Nachfolger 68dfc0d5

Bug-Fix

Klick auf Drucken in der ActionBar löste nur speichern aus, wenn es sich um einen neuen Auftrag handelte.

Unterschiede anzeigen:

bin/mozilla/oe.pl
581 581
  if ($form->{resubmit} && ($form->{format} eq "html")) {
582 582
      $dispatch_to_popup  = "window.open('about:blank','Beleg'); document.oe.target = 'Beleg';";
583 583
      $dispatch_to_popup .= "document.do.submit();";
584
  } elsif ($form->{resubmit}) {
584
  } elsif ($form->{resubmit}  && $form->{action_print}) {
585 585
    # emulate click for resubmitting actions
586
    $dispatch_to_popup  = "document.oe.${_}.click(); " for grep { /^action_/ } keys %$form;
586
    $dispatch_to_popup  = "kivi.SalesPurchase.show_print_dialog(); kivi.SalesPurchase.print_record();";
587 587
  } elsif ($creditwarning) {
588 588
    $::request->{layout}->add_javascripts_inline("alert('$credittext');");
589 589
  }

Auch abrufbar als: Unified diff