X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=bin%2Fmozilla%2Frc.pl;h=4df612cc57ad353a70d0230d29fb5184402512d9;hb=e9e216f571e214e1d19c43a2b47f04525f4aaddf;hp=2a174297456d5717c9dbaba4f9f823050c7720b1;hpb=081a4f9736f3bc345872be8f61632cbed4a8d9b3;p=kivitendo-erp.git diff --git a/bin/mozilla/rc.pl b/bin/mozilla/rc.pl index 2a1742974..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| -
+ @@ -420,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);