Revision 817f7300
Von Moritz Bunkus vor etwa 14 Jahren hinzugefügt
bin/mozilla/oe.pl | ||
---|---|---|
1935 | 1935 |
return $content; |
1936 | 1936 |
} |
1937 | 1937 |
|
1938 |
sub dispatcher { |
|
1939 |
my $form = $main::form; |
|
1940 |
my $locale = $main::locale; |
|
1941 |
|
|
1942 |
foreach my $action (qw(delete delivery_order e_mail invoice print purchase_order purchase_order quotation |
|
1943 |
request_for_quotation sales_order sales_order save save_and_close save_as_new ship_to update)) { |
|
1944 |
if ($form->{"action_${action}"}) { |
|
1945 |
call_sub($action); |
|
1946 |
return; |
|
1947 |
} |
|
1948 |
} |
|
1949 |
|
|
1950 |
$form->error($locale->text('No action defined.')); |
|
1951 |
} |
Auch abrufbar als: Unified diff
Rückübersetzung Button "Speichern und Schließen" durch Umstellung auf dispatcher vermeiden
Conflicts: