Lokalisierungsdateien jquery-ui hinzugefĆ¼gt
[kivitendo-erp.git] / templates / webpages / sepa / bank_transfer_edit.html
index 36515b8..b8f209d 100644 (file)
@@ -46,7 +46,7 @@
      [%- IF show_post_payments_button %]
       <th class="listheading" colspan="3">&nbsp;</th>
       <th class="listheading">
-        [% L.date_tag('set_all_execution_date') %]
+        [% L.date_tag('set_all_execution_date', '', onchange='set_all_execution_date_fields(this);') %]
       </th>
      [%- ELSE %]
       <th class="listheading" colspan="4">&nbsp;</th>
 
   <script type="text/javascript">
    <!--
-    function set_all_execution_date_fields() {
-      var new_date = $('#set_all_execution_date').val();
+    function set_all_execution_date_fields(input) {
+      var new_date = $(input).val();
       $('INPUT[name="items[].execution_date"]').each(function() {
         $(this).val(new_date);
       });
     }
 
     $(function() {
-      $('#set_all_execution_date').change(set_all_execution_date_fields);
       $("#select_all").checkall('INPUT[name="items[].selected"]');
     });
      -->