[%- IF show_post_payments_button %]
<th class="listheading" colspan="3"> </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"> </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"]');
});
-->