]> wagnertech.de Git - kivitendo-erp.git/commitdiff
Rechnungsmasken auf dispatcher Mechanismus (fixmaster)
authorMartin Helmling mh@waldpark.octosoft.eu <martin.helmling@octosoft.eu>
Mon, 30 May 2016 10:08:30 +0000 (12:08 +0200)
committerMartin Helmling mh@waldpark.octosoft.eu <martin.helmling@octosoft.eu>
Mon, 30 May 2016 10:08:30 +0000 (12:08 +0200)
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
templates/webpages/is/form_footer.html

index 631262e0de412d0600006462c68841a5390d17ae..31c54a7515b68fb1bf9fc6753d48ccaa1d44b88e 100644 (file)
@@ -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
index 7980bcac443bf3136bcb65ad74509af78a10cc7a..dc19c417329e596b42bee279439e93adadffb203 100644 (file)
 <p>[% print_options %]</p>
 
 <div id='form_action_bar'>
-  <input type="hidden" name="action" value="dispatcher">
-
   [% IF id %]
     <input class="submit" type="submit" accesskey="u" name="action_update" id="update_button" value="[% 'Update' | $T8 %]">
     <input class="submit" type="submit" name="action_ship_to" value="[% 'Ship to' | $T8 %]">