Files
Redmine/app/views/timelog/edit.js.erb
Jean-Philippe Lang 2879071f3b Timelog move between projects (#588).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@16450 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-03 09:33:27 +00:00

3 lines
286 B
Plaintext

$('#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?) %>');