Revision ec4a82db
Von Tamino Steinert vor 12 Monaten hinzugefügt
bin/mozilla/ap.pl | ||
---|---|---|
1038 | 1038 |
SL::Helper::Flash::flash_later('info', $msg); |
1039 | 1039 |
print $form->redirect_header($add_doc_url); |
1040 | 1040 |
$::dispatcher->end_request; |
1041 |
|
|
1041 |
} elsif ('callback' eq $form->{after_action}) { |
|
1042 |
my $callback = $form->{callback} |
|
1043 |
|| "controller.pl?action=LoginScreen/user_login"; |
|
1044 |
SL::Helper::Flash::flash_later('info', $msg); |
|
1045 |
print $form->redirect_header($callback); |
|
1046 |
$::dispatcher->end_request; |
|
1042 | 1047 |
} else { |
1043 | 1048 |
$form->redirect($msg); |
1044 | 1049 |
} |
... | ... | |
1581 | 1586 |
} else { |
1582 | 1587 |
@post_entries = ( $create_post_action->(t8('Post')) ); |
1583 | 1588 |
} |
1589 |
push @post_entries, $create_post_action->(t8('Post and Close'), 'callback'); |
|
1584 | 1590 |
|
1585 | 1591 |
for my $bar ($::request->layout->get('actionbar')) { |
1586 | 1592 |
$bar->add( |
Auch abrufbar als: Unified diff
Speichern/Buchen und schließen zu Belegen hinzufügt