Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision c0f1c3ee

Von Sven Schöling vor mehr als 13 Jahren hinzugefügt

  • ID c0f1c3eec56473b63fe132bea71b5cf3b2943065
  • Vorgänger 2b609827
  • Nachfolger 2b260ba4

oe.pl::dispatcher - unnötige Lokalisierungen von Globals entfernt.

Unterschiede anzeigen:

bin/mozilla/oe.pl
1941 1941
}
1942 1942

  
1943 1943
sub dispatcher {
1944
  my $form     = $main::form;
1945
  my $locale   = $main::locale;
1946

  
1947 1944
  foreach my $action (qw(delete delivery_order e_mail invoice print purchase_order purchase_order quotation
1948 1945
                         request_for_quotation sales_order sales_order save save_and_close save_as_new ship_to update)) {
1949
    if ($form->{"action_${action}"}) {
1946
    if ($::form->{"action_${action}"}) {
1950 1947
      call_sub($action);
1951 1948
      return;
1952 1949
    }
1953 1950
  }
1954 1951

  
1955
  $form->error($locale->text('No action defined.'));
1952
  $::form->error($::locale->text('No action defined.'));
1956 1953
}

Auch abrufbar als: Unified diff