From b48c9c84b3b070011b50ae41216c3903a369f661 Mon Sep 17 00:00:00 2001 From: "Martin Helmling mh@waldpark.octosoft.eu" Date: Mon, 30 May 2016 12:08:30 +0200 Subject: [PATCH] Rechnungsmasken auf dispatcher Mechanismus (fixmaster) Fixup: Doppelte Variable in 0a50b37c Forms Input Variable "action" existiert doppelt, die letztere ist auf dispatcher gesetzt, die erste hat aber die id "action" und wird von Javascript gefunden. (habe ich nun 4 h rumgesucht !!) --- bin/mozilla/is.pl | 1 + templates/webpages/is/form_footer.html | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/bin/mozilla/is.pl b/bin/mozilla/is.pl index 631262e0d..31c54a751 100644 --- a/bin/mozilla/is.pl +++ b/bin/mozilla/is.pl @@ -381,6 +381,7 @@ sub form_header { push @custom_hiddens, map { "shiptocvar_" . $_->name } @{ SL::DB::Manager::CustomVariableConfig->get_all(where => [ module => 'ShipTo' ]) }; # hiddens + $form->{"action"} = "dispatcher"; $TMPL_VAR{HIDDENS} = [qw( id action type media format queued printed emailed title vc discount title creditlimit creditremaining tradediscount business closedto locked shipped storno storno_id diff --git a/templates/webpages/is/form_footer.html b/templates/webpages/is/form_footer.html index 7980bcac4..dc19c4173 100644 --- a/templates/webpages/is/form_footer.html +++ b/templates/webpages/is/form_footer.html @@ -156,8 +156,6 @@

[% print_options %]

- - [% IF id %] -- 2.20.1