X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=bin%2Fmozilla%2Frc.pl;h=4df612cc57ad353a70d0230d29fb5184402512d9;hb=75f04d3e263d09c407ab873834335ed89a2b6769;hp=9dfb1e1c54c85e137c21505f1d034be6464f8345;hpb=d319704a66e9be64da837ccea10af6774c2b0838;p=kivitendo-erp.git diff --git a/bin/mozilla/rc.pl b/bin/mozilla/rc.pl index 9dfb1e1c5..4df612cc5 100644 --- a/bin/mozilla/rc.pl +++ b/bin/mozilla/rc.pl @@ -33,6 +33,8 @@ use SL::RC; +require "bin/mozilla/common.pl"; + 1; # end of main @@ -47,11 +49,14 @@ sub reconciliation { @{ $form->{PR} }; $form->{title} = $locale->text('Reconciliation'); - + $form->{javascript} .= qq||; + $form->{"jsscript"} = 1; $form->header; + $onload = qq|focus()|; + $onload .= qq|;setupDateFormat('|. $myconfig{dateformat} .qq|', '|. $locale->text("Falsches Datumsformat!") .qq|')|; print qq| -
+ @@ -421,7 +423,7 @@ sub done { $lxdebug->enter_sub(); $form->{callback} = - "$form->{script}?path=$form->{path}&action=reconciliation&login=$form->{login}&password=$form->{password}"; + "$form->{script}?action=reconciliation&login=$form->{login}&password=$form->{password}"; $form->error($locale->text('Out of balance!')) if ($form->{difference} *= 1);