summaryrefslogtreecommitdiffstats
path: root/app/views/timelog/_list.html.erb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2016-10-29 14:06:15 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2016-10-29 14:06:15 +0000
commit18073c971e69fcfbfcafc8f2ec81768ea18220f8 (patch)
tree84b3ae221e6cbaae1d3253d397490f41a8b1a840 /app/views/timelog/_list.html.erb
parent7cce582c14a0022032cb33c60ad46715ec83af81 (diff)
downloadredmine-18073c971e69fcfbfcafc8f2ec81768ea18220f8.tar.gz
redmine-18073c971e69fcfbfcafc8f2ec81768ea18220f8.zip
Don't use a global variable for storing context menu URL.
git-svn-id: http://svn.redmine.org/redmine/trunk@15936 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/timelog/_list.html.erb')
-rw-r--r--app/views/timelog/_list.html.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/timelog/_list.html.erb b/app/views/timelog/_list.html.erb
index be02adb5c..3721df274 100644
--- a/app/views/timelog/_list.html.erb
+++ b/app/views/timelog/_list.html.erb
@@ -1,4 +1,4 @@
-<%= form_tag({}) do -%>
+<%= form_tag({}, :data => {:cm_url => time_entries_context_menu_path}) do -%>
<%= hidden_field_tag 'back_url', url_for(:params => request.query_parameters), :id => nil %>
<div class="autoscroll">
<table class="list time-entries">
@@ -60,4 +60,4 @@
</div>
<% end -%>
-<%= context_menu time_entries_context_menu_path %>
+<%= context_menu %>