]> source.dussan.org Git - redmine.git/commitdiff
Merged r18227 from trunk to 4.0-stable (#31511).
authorGo MAEDA <maeda@farend.jp>
Wed, 5 Jun 2019 23:20:55 +0000 (23:20 +0000)
committerGo MAEDA <maeda@farend.jp>
Wed, 5 Jun 2019 23:20:55 +0000 (23:20 +0000)
git-svn-id: http://svn.redmine.org/redmine/branches/4.0-stable@18228 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/timelog/report.html.erb

index b5307c4afc4b8201bc5ff86b7a00ec5882108d09..0f83e5410c87b6e932797ade24df238a8930b6a9 100644 (file)
@@ -88,8 +88,8 @@
 $(document).ready(function(){
   $('input#csv-export-button').click(function(){
     $('form input#encoding').val($('select#encoding option:selected').val());
-    $('form#query_form').attr('action', '<%= report_time_entries_path(:format => 'csv') %>').submit();
-    $('form#query_form').attr('action', '<%= report_time_entries_path %>');
+    $('form#query_form').attr('action', '<%= _report_time_entries_path(@project, nil, :format => 'csv') %>').submit();
+    $('form#query_form').attr('action', '<%= _report_time_entries_path(@project, nil) %>');
     hideModal(this);
   });
 });