Defect #31511 ยป issue_31511.diff
| app/views/timelog/report.html.erb | ||
|---|---|---|
| 88 | 88 |
$(document).ready(function(){
|
| 89 | 89 |
$('input#csv-export-button').click(function(){
|
| 90 | 90 |
$('form input#encoding').val($('select#encoding option:selected').val());
|
| 91 |
$('form#query_form').attr('action', '<%= report_time_entries_path(:format => 'csv') %>').submit();
|
|
| 92 |
$('form#query_form').attr('action', '<%= report_time_entries_path %>');
|
|
| 91 |
$('form#query_form').attr('action', '<%= _report_time_entries_path(@project, nil, :format => 'csv') %>').submit();
|
|
| 92 |
$('form#query_form').attr('action', '<%= _report_time_entries_path(@project, nil) %>');
|
|
| 93 | 93 |
hideModal(this); |
| 94 | 94 |
}); |
| 95 | 95 |
}); |