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/oe.pl
651 651
      if ($rows > 1) {
652 652

  
653 653
        select_item(mode => $mode, pre_entered_qty => $form->{"qty_$i"});
654
        ::end_of_request();
654
        $::dispatcher->end_request;
655 655

  
656 656
      } else {
657 657

  
......
1195 1195
      $form->{payment_id} = $payment_id;
1196 1196
    }
1197 1197
    &update;
1198
    ::end_of_request();
1198
    $::dispatcher->end_request;
1199 1199
  }
1200 1200

  
1201 1201
  $form->{id} = 0 if $form->{saveasnew};
......
1303 1303
      $form->{payment_id} = $payment_id;
1304 1304
    }
1305 1305
    &update;
1306
    ::end_of_request();
1306
    $::dispatcher->end_request;
1307 1307
  }
1308 1308

  
1309 1309
  $form->{id} = 0 if $form->{saveasnew};
......
1366 1366
  if(!$form->{print_and_save}) {
1367 1367
    delete @{$form}{ary_diff([keys %{ $form }], [qw(login id script type cursor_fokus)])};
1368 1368
    edit();
1369
    ::end_of_request();
1369
    $::dispatcher->end_request;
1370 1370
  }
1371 1371
  $main::lxdebug->leave_sub();
1372 1372
}
......
1402 1402
    }
1403 1403
    # /saving the history
1404 1404
    $form->info($msg);
1405
    ::end_of_request();
1405
    $::dispatcher->end_request;
1406 1406
  }
1407 1407
  $form->error($err);
1408 1408

  
......
1454 1454
  if (&check_name($form->{vc})) {
1455 1455
    $form->{payment_id} = $payment_id if $form->{payment_id} eq "";
1456 1456
    &update;
1457
    ::end_of_request();
1457
    $::dispatcher->end_request;
1458 1458
  }
1459 1459

  
1460 1460
  _oe_remove_delivered_or_billed_rows(id => $form->{id}, type => 'billed');
......
1756 1756

  
1757 1757
  $main::lxdebug->leave_sub();
1758 1758

  
1759
  ::end_of_request();
1759
  $::dispatcher->end_request;
1760 1760
}
1761 1761

  
1762 1762
sub purchase_order {

Auch abrufbar als: Unified diff