summaryrefslogtreecommitdiffstats
path: root/app/views/common
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2019-06-29 05:28:49 +0000
committerGo MAEDA <maeda@farend.jp>2019-06-29 05:28:49 +0000
commit71daf9134a060471c5fa8e079cb5573a153436f4 (patch)
tree235cccb56fb3bde117a26b30b28ccd2defe87f75 /app/views/common
parent05d365a3997cd89c682461c1190aba60a932c202 (diff)
downloadredmine-71daf9134a060471c5fa8e079cb5573a153436f4.tar.gz
redmine-71daf9134a060471c5fa8e079cb5573a153436f4.zip
View switches from gantt to list after editing an issue (#31552).
Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@18322 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/common')
-rw-r--r--app/views/common/_calendar.html.erb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/common/_calendar.html.erb b/app/views/common/_calendar.html.erb
index dce3c8b52..0236a9688 100644
--- a/app/views/common/_calendar.html.erb
+++ b/app/views/common/_calendar.html.erb
@@ -1,4 +1,5 @@
<%= form_tag({}, :data => {:cm_url => issues_context_menu_path}) do -%>
+<%= hidden_field_tag 'back_url', url_for(:params => request.query_parameters), :id => nil %>
<table class="cal">
<thead>
<tr><th scope="col" title="<%= l(:label_week) %>" class="week-number"></th><% 7.times do |i| %><th scope="col"><%= day_name( (calendar.first_wday+i)%7 ) %></th><% end %></tr>