X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Foe.pl;h=e47ffeefa1b8cb09f05dc654b99f08a5a1012f4f;hb=c2d72edadd2639c4dd854a3ad4daf29ebd4c4f2b;hp=add4b469f543e3a878c2d9271d7e8133d86a9b64;hpb=2ef92b3a7c4b46a3eba1d41267fd0b8b413c49bd;p=kivitendo-erp.git diff --git a/bin/mozilla/oe.pl b/bin/mozilla/oe.pl index add4b469f..e47ffeefa 100644 --- a/bin/mozilla/oe.pl +++ b/bin/mozilla/oe.pl @@ -317,7 +317,7 @@ sub form_header { $TMPL_VAR{department_labels} = sub { "$_[0]->{description}--$_[0]->{id}" }; # vendor/customer - $TMPL_VAR{vc_keys} = sub { E($_[0]->{name}) . "--$_[0]->{id}" }; + $TMPL_VAR{vc_keys} = sub { "$_[0]->{name}--$_[0]->{id}" }; $TMPL_VAR{vclimit} = $myconfig{vclimit}; $TMPL_VAR{vc_select} = "customer_or_vendor_selection_window('$form->{vc}', '', @{[ $form->{vc} eq 'vendor' ? 1 : 0 ]}, 0)"; push @custom_hiddens, "$form->{vc}_id"; @@ -361,7 +361,7 @@ sub form_header { $onload = ($form->{resubmit} && ($form->{format} eq "html")) ? "window.open('about:blank','Beleg'); document.oe.target = 'Beleg';document.oe.submit()" : ($form->{resubmit}) ? "document.oe.submit()" : ($creditwarning) ? "alert('$credittext')" - : "focus()"; + : ""; $onload .= qq|;setupDateFormat('|. $myconfig{dateformat} .qq|', '|. $locale->text("Falsches Datumsformat!") .qq|')|; $onload .= qq|;setupPoints('|. $myconfig{numberformat} .qq|', '|. $locale->text("wrongformat") .qq|')|; @@ -638,7 +638,7 @@ sub search { # constants and subs for template $form->{jsscript} = 1; $form->{employee_labels} = sub { $_[0]->{"name"} || $_[0]->{"login"} }; - $form->{vc_keys} = sub { E($_[0]->{name}) . "--$_[0]->{id}" }; + $form->{vc_keys} = sub { "$_[0]->{name}--$_[0]->{id}" }; $form->{salesman_labels} = $form->{employee_labels}; $form->header(); @@ -1101,7 +1101,7 @@ sub save { $form->{simple_save} = 1; if(!$form->{print_and_save}) { - delete @{$form}{ary_diff([keys %{ $form }], [qw(login stylesheet id script type)])}; + delete @{$form}{ary_diff([keys %{ $form }], [qw(login stylesheet id script type cursor_fokus)])}; edit(); exit; }