From bb79df1ed661bc2c4696100ffe4b2745ebd34b6d Mon Sep 17 00:00:00 2001 From: Thomas Kasulke Date: Fri, 20 Apr 2007 08:46:06 +0000 Subject: [PATCH] =?utf8?q?Anpassen=20an=20common.js=20(Datums=C3=BCberpr?= =?utf8?q?=C3=BCfung=20und=20Nummer=C3=BCberpr=C3=BCfung)?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- bin/mozilla/oe.pl | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/bin/mozilla/oe.pl b/bin/mozilla/oe.pl index 567a2590e..642ee5555 100644 --- a/bin/mozilla/oe.pl +++ b/bin/mozilla/oe.pl @@ -361,12 +361,12 @@ sub form_header { # with JavaScript Calendar $button1 = qq| - {transdate}> + {transdate} onBlur=\"check_right_date_format(this)\"> text('button') . qq|> |; $button2 = qq| - {reqdate}> + {reqdate} onBlur=\"check_right_date_format(this)\"> text('button') . qq|> |; @@ -380,9 +380,9 @@ sub form_header { # without JavaScript Calendar $button1 = qq| - {transdate}>|; + {transdate} onBlur=\"check_right_date_format(this)\">|; $button2 = qq| - {reqdate}>|; + {reqdate} onBlur=\"check_right_date_format(this)\">|; } my @tmp; @@ -725,14 +725,17 @@ onchange="document.getElementById('update_button').click();">| . } elsif ($form->{resubmit}) { $onload = qq|document.oe.submit()|; } else { - $onload = "fokus()"; + $onload = "focus()"; } $credittext = $locale->text('Credit Limit exceeded!!!'); if ($creditwarning) { $onload = qq|alert('$credittext')|; } - + + $onload .= qq|;setupDateFormat('|. $myconfig{dateformat} .qq|', '|. $locale->text("Falsches Datumsformat!") .qq|')|; + $onload .= qq|;setupPoints('|. $myconfig{numberformat} .qq|', '|. $locale->text("wrongformat") .qq|')|; + $form->{"javascript"} .= qq||; # show history button js $form->{javascript} .= qq||; @@ -1400,12 +1403,12 @@ sub search { # with JavaScript Calendar $button1 = qq| - + text('button') . qq|> |; $button2 = qq| - + text('button') . qq|> |; @@ -1418,9 +1421,9 @@ sub search { # without JavaScript Calendar $button1 = qq| - |; + |; $button2 = qq| - |; + |; } $form->get_lists("projects" => { "key" => "ALL_PROJECTS", -- 2.20.1