X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fct.pl;h=8940fb950bf7d17bfe6ba69acca30c4f36aba207;hb=aed9138b359fee7e7652fc9f90ee746a004010b3;hp=fe166c52015498fcdbf5f112510ff9897e72987a;hpb=d629acd82a27e980899a044ca8b0f4becc8e94bb;p=kivitendo-erp.git diff --git a/bin/mozilla/ct.pl b/bin/mozilla/ct.pl index fe166c520..8940fb950 100644 --- a/bin/mozilla/ct.pl +++ b/bin/mozilla/ct.pl @@ -95,13 +95,14 @@ sub search { $label = ucfirst $form->{db}; $form->{title} = $locale->text($label . "s"); + $form->{fokus} = 'Form.name'; $form->header; print qq| - + -
{script}> +{script} name="Form"> {db}> @@ -661,7 +662,7 @@ sub form_header { "$form->{script}?login=$form->{login}&password=$form->{password}&action=get_contact"; my $pjx = new CGI::Ajax( 'get_contact' => $get_contact_url ); - $form->{selectcontact} = ""; + $form->{selectcontact} = ""; if (@{ $form->{CONTACTS} }) { foreach $item (@{ $form->{CONTACTS} }) { if ($item->{cp_id} == $form->{cp_id}) { @@ -1411,7 +1412,7 @@ sub save { if ($form->{"db"} eq "customer") { $res = CT->save_customer(\%myconfig, \%$form); } else { - $res = CT->save_customer(\%myconfig, \%$form); + $res = CT->save_vendor(\%myconfig, \%$form); } if (3 == $res) {