Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 09479f02

Von Moritz Bunkus vor mehr als 8 Jahren hinzugefügt

  • ID 09479f022ab9e0815ceee55923ae46df51afbd42
  • Vorgänger bcc99615
  • Nachfolger 88ace518

Dispatcher: end_of_request() sub aus main namespace verbannt

Unterschiede anzeigen:

bin/mozilla/do.pl
429 429
      if ($rows > 1) {
430 430

  
431 431
        select_item(mode => $mode, pre_entered_qty => $form->{"qty_$i"});
432
        ::end_of_request();
432
        $::dispatcher->end_request;
433 433

  
434 434
      } else {
435 435

  
......
741 741
  # if the name changed get new values
742 742
  if (check_name($form->{vc})) {
743 743
    update();
744
    ::end_of_request();
744
    $::dispatcher->end_request;
745 745
  }
746 746

  
747 747
  $form->{id} = 0 if $form->{saveasnew};
......
759 759
  if (!$params{no_redirect} && !$form->{print_and_save}) {
760 760
    delete @{$form}{ary_diff([keys %{ $form }], [qw(login id script type cursor_fokus)])};
761 761
    edit();
762
    ::end_of_request();
762
    $::dispatcher->end_request;
763 763
  }
764 764
  $main::lxdebug->leave_sub();
765 765
}
......
783 783
    # /saving the history
784 784

  
785 785
    $form->info($locale->text('Delivery Order deleted!'));
786
    ::end_of_request();
786
    $::dispatcher->end_request;
787 787
  }
788 788

  
789 789
  $form->error($locale->text('Cannot delete delivery order!'));
......
1405 1405
      update();
1406 1406
      $main::lxdebug->leave_sub();
1407 1407

  
1408
      ::end_of_request();
1408
      $::dispatcher->end_request;
1409 1409
    }
1410 1410
  }
1411 1411

  
......
1524 1524
      update();
1525 1525
      $main::lxdebug->leave_sub();
1526 1526

  
1527
      ::end_of_request();
1527
      $::dispatcher->end_request;
1528 1528
    }
1529 1529
  }
1530 1530
  DO->transfer_in_out('direction' => 'out',

Auch abrufbar als: Unified diff