From: Martin Helmling mh@waldpark.octosoft.eu Date: Mon, 30 May 2016 10:08:30 +0000 (+0200) Subject: Rechnungsmasken auf dispatcher Mechanismus (fixmaster) X-Git-Tag: release-3.4.1~126 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=b48c9c84b3b070011b50ae41216c3903a369f661;p=kivitendo-erp.git 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 !!) --- 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 %]