From: Jean-Philippe Lang Date: Sun, 3 Aug 2008 09:27:27 +0000 (+0000) Subject: Fixed: logtime entry duplicated when edited from parent project (#1728). X-Git-Tag: 0.8.0-RC1~307 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d1a504f768f1903ea1a1a0b5178b6d5ae5a6dcf2;p=redmine.git Fixed: logtime entry duplicated when edited from parent project (#1728). git-svn-id: http://redmine.rubyforge.org/svn/trunk@1713 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/timelog/_list.rhtml b/app/views/timelog/_list.rhtml index 189f4f5e8..8aebd75de 100644 --- a/app/views/timelog/_list.rhtml +++ b/app/views/timelog/_list.rhtml @@ -27,9 +27,9 @@ <%= html_hours("%.2f" % entry.hours) %> <% if entry.editable_by?(User.current) -%> - <%= link_to image_tag('edit.png'), {:controller => 'timelog', :action => 'edit', :id => entry}, + <%= link_to image_tag('edit.png'), {:controller => 'timelog', :action => 'edit', :id => entry, :project_id => nil}, :title => l(:button_edit) %> - <%= link_to image_tag('delete.png'), {:controller => 'timelog', :action => 'destroy', :id => entry}, + <%= link_to image_tag('delete.png'), {:controller => 'timelog', :action => 'destroy', :id => entry, :project_id => nil}, :confirm => l(:text_are_you_sure), :method => :post, :title => l(:button_delete) %>