Project

General

Profile

Defect #31511 ยป issue_31511.diff

Xavier Calland, 2019-06-04 10:42

View differences:

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
});
    (1-1/1)