Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 48508b25

Von Tamino Steinert vor 6 Monaten hinzugefügt

  • ID 48508b25dc9bfec9aac34bf8b0be3d783e51d596
  • Vorgänger d714c183
  • Nachfolger e68a2521

Speichern/Buchen und schließen zu Belegen hinzufügt

Versucht Callback aufzurufen oder geht zu Loginseite.

Unterschiede anzeigen:

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