summaryrefslogtreecommitdiffstats
path: root/app/views/timelog/edit.js.erb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2017-04-03 09:33:27 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2017-04-03 09:33:27 +0000
commit2879071f3b73e597b8b0eca490e8710a9de8dbca (patch)
tree1c2388093f9b0916f609ca4e006d25ec44655587 /app/views/timelog/edit.js.erb
parent1ab58b6aa580326f6841cd897fc1675bd2c5cb82 (diff)
downloadredmine-2879071f3b73e597b8b0eca490e8710a9de8dbca.tar.gz
redmine-2879071f3b73e597b8b0eca490e8710a9de8dbca.zip
Timelog move between projects (#588).
Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@16450 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/timelog/edit.js.erb')
-rw-r--r--app/views/timelog/edit.js.erb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/timelog/edit.js.erb b/app/views/timelog/edit.js.erb
index cd7861140..4cba8cfe6 100644
--- a/app/views/timelog/edit.js.erb
+++ b/app/views/timelog/edit.js.erb
@@ -1 +1,2 @@
+$('#time_entry_activity_id').html('<%= escape_javascript options_for_select(activity_collection_for_select_options(@time_entry), @time_entry.activity_id) %>');
$('#time_entry_issue').html('<%= escape_javascript link_to_issue(@time_entry.issue) if @time_entry.issue.try(:visible?) %>');