]> wagnertech.de Git - mfinanz.git/blobdiff - bin/mozilla/ic.pl
IC: dispatcher wird nicht mehr gebraucht
[mfinanz.git] / bin / mozilla / ic.pl
index 8f4702cd1a1109e11e6f1dbc2892e5eef4622753..022422b1c20b9d7330a1fdb0d9fce3b7d28f8c5d 100644 (file)
@@ -668,25 +668,4 @@ sub generate_report {
   $lxdebug->leave_sub();
 }    #end generate_report
 
-sub back_to_record {
-  _check_io_auth();
-
-
-  delete @{$::form}{qw(action action_add action_back_to_record back_sub description item notes partnumber sellprice taxaccount2 unit vc)};
-
-  $::auth->restore_form_from_session($::form->{previousform}, clobber => 1);
-  $::form->{rowcount}--;
-  $::form->{action}   = 'display_form';
-  $::form->{callback} = $::form->{script} . '?' . join('&', map { $::form->escape($_) . '=' . $::form->escape($::form->{$_}) } sort keys %{ $::form });
-  $::form->redirect;
-}
-
 sub continue { call_sub($form->{"nextsub"}); }
-
-sub dispatcher {
-  my $action = first { $::form->{"action_${_}"} } qw(add back_to_record);
-  $::form->error($::locale->text('No action defined.')) unless $action;
-
-  $::form->{dispatched_action} = $action;
-  call_sub($action);
-}