From 69f328366fdff5d6eb8408499691a479792c3540 Mon Sep 17 00:00:00 2001 From: Bernd Blessmann Date: Mon, 19 Dec 2011 11:43:42 +0100 Subject: [PATCH] =?utf8?q?Nach=20=C3=84ndern=20der=20W=C3=A4hrung=20im=20V?= =?utf8?q?erkauf=20und=20Einkauf=20Erneuern=20ausl=C3=B6sen.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- bin/mozilla/ir.pl | 4 +++- bin/mozilla/is.pl | 4 +++- bin/mozilla/oe.pl | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/bin/mozilla/ir.pl b/bin/mozilla/ir.pl index cb3d3a5ad..b550532ed 100644 --- a/bin/mozilla/ir.pl +++ b/bin/mozilla/ir.pl @@ -308,7 +308,9 @@ sub form_header { $form->{currency} = $form->{defaultcurrency} unless $form->{currency}; $TMPL_VAR{show_exchangerate} = $form->{currency} ne $form->{defaultcurrency}; $TMPL_VAR{currencies} = NTI($cgi->popup_menu('-name' => 'currency', '-default' => $form->{"currency"}, - '-values' => \@values, '-labels' => \%labels)) if scalar @values; + '-values' => \@values, '-labels' => \%labels, + '-onchange' => "document.getElementById('update_button').click();" + )) if scalar @values; push @custom_hiddens, "forex"; push @custom_hiddens, "exchangerate" if $form->{forex}; diff --git a/bin/mozilla/is.pl b/bin/mozilla/is.pl index beb6093f3..b858db1cd 100644 --- a/bin/mozilla/is.pl +++ b/bin/mozilla/is.pl @@ -332,7 +332,9 @@ sub form_header { $form->{currency} = $form->{defaultcurrency} unless $form->{currency}; $form->{show_exchangerate} = $form->{currency} ne $form->{defaultcurrency}; $TMPL_VAR{currencies} = NTI($::request->{cgi}->popup_menu('-name' => 'currency', '-default' => $form->{"currency"}, - '-values' => \@values, '-labels' => \%labels)) if scalar @values; + '-values' => \@values, '-labels' => \%labels, + '-onchange' => "document.getElementById('update_button').click();" + )) if scalar @values; push @custom_hiddens, "forex"; push @custom_hiddens, "exchangerate" if $form->{forex}; diff --git a/bin/mozilla/oe.pl b/bin/mozilla/oe.pl index addf693c5..ac3451db1 100644 --- a/bin/mozilla/oe.pl +++ b/bin/mozilla/oe.pl @@ -361,7 +361,9 @@ sub form_header { $form->{currency} = $form->{defaultcurrency} unless $form->{currency}; $TMPL_VAR{show_exchangerate} = $form->{currency} ne $form->{defaultcurrency}; $TMPL_VAR{currencies} = NTI($cgi->popup_menu('-name' => 'currency', '-default' => $form->{"currency"}, - '-values' => \@values, '-labels' => \%labels)) if scalar @values; + '-values' => \@values, '-labels' => \%labels, + '-onchange' => "document.getElementById('update_button').click();" + )) if scalar @values; push @custom_hiddens, "forex"; push @custom_hiddens, "exchangerate" if $form->{forex}; -- 2.20.1