Revision ec4a82db
Von Tamino Steinert vor 12 Monaten hinzugefügt
bin/mozilla/ir.pl | ||
---|---|---|
346 | 346 |
} else { |
347 | 347 |
@post_entries = ( $create_post_action->(t8('Post')) ); |
348 | 348 |
} |
349 |
push @post_entries, $create_post_action->(t8('Post and Close'), 'callback'); |
|
349 | 350 |
|
350 | 351 |
for my $bar ($::request->layout->get('actionbar')) { |
351 | 352 |
$bar->add( |
... | ... | |
1078 | 1079 |
my $redirect_url; |
1079 | 1080 |
if ('doc-tab' eq $form->{after_action}) { |
1080 | 1081 |
$redirect_url = build_std_url("script=ir.pl", 'action=edit', 'id=' . E($form->{id}), 'fragment=ui-tabs-docs'); |
1082 |
} elsif ('callback' eq $form->{after_action}) { |
|
1083 |
$redirect_url = $form->{callback} |
|
1084 |
|| "controller.pl?action=LoginScreen/user_login"; |
|
1081 | 1085 |
} else { |
1082 | 1086 |
$redirect_url = build_std_url("script=ir.pl", 'action=edit', 'id=' . E($form->{id})); |
1083 | 1087 |
} |
Auch abrufbar als: Unified diff
Speichern/Buchen und schließen zu Belegen hinzufügt