diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-04-16 17:27:53 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-04-16 17:27:53 +0000 |
commit | 1a4f81163d2c66e9827d674d32066865ef7e4bd0 (patch) | |
tree | 710b3fe84c2410b0a95dd83635931b3f4c420384 /app/views/timelog | |
parent | 7061f73708336881660c763aa535c9b327610c70 (diff) | |
download | redmine-1a4f81163d2c66e9827d674d32066865ef7e4bd0.tar.gz redmine-1a4f81163d2c66e9827d674d32066865ef7e4bd0.zip |
Redirected user to where he is coming from after logging hours (#1062).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1354 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/timelog')
-rw-r--r-- | app/views/timelog/edit.rhtml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/timelog/edit.rhtml b/app/views/timelog/edit.rhtml index e221038a0..f9dae8a99 100644 --- a/app/views/timelog/edit.rhtml +++ b/app/views/timelog/edit.rhtml @@ -2,6 +2,7 @@ <% labelled_tabular_form_for :time_entry, @time_entry, :url => {:action => 'edit', :project_id => @time_entry.project} do |f| %>
<%= error_messages_for 'time_entry' %>
+<%= back_url_hidden_field_tag %>
<div class="box">
<p><%= f.text_field :issue_id, :size => 6 %> <em><%= h("#{@time_entry.issue.tracker.name} ##{@time_entry.issue.id}: #{@time_entry.issue.subject}") if @time_entry.issue %></em></p>
|