annotate .svn/pristine/75/7564dff632a56de9feef3194aae6511189c0892c.svn-base @ 1524:82fac3dcf466
redmine-2.5-integration
Fix failure to interpret Javascript when autocompleting members for project
author |
Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
date |
Thu, 11 Sep 2014 10:24:38 +0100 |
parents |
cbb26bc654de |
children |
|
rev |
line source |
Chris@909
|
1 <%= error_messages_for 'relation' %>
|
Chris@909
|
2
|
Chris@909
|
3 <p><%= f.select :relation_type, collection_for_relation_type_select, {}, :onchange => "setPredecessorFieldsVisibility();" %>
|
Chris@909
|
4 <%= l(:label_issue) %> #<%= f.text_field :issue_to_id, :size => 10 %>
|
Chris@909
|
5 <div id="related_issue_candidates" class="autocomplete"></div>
|
Chris@909
|
6 <%= javascript_tag "observeRelatedIssueField('#{auto_complete_issues_path(:id => @issue, :project_id => @project) }')" %>
|
Chris@909
|
7 <span id="predecessor_fields" style="display:none;">
|
Chris@909
|
8 <%= l(:field_delay) %>: <%= f.text_field :delay, :size => 3 %> <%= l(:label_day_plural) %>
|
Chris@909
|
9 </span>
|
Chris@909
|
10 <%= submit_tag l(:button_add) %>
|
Chris@909
|
11 <%= toggle_link l(:button_cancel), 'new-relation-form'%>
|
Chris@909
|
12 </p>
|
Chris@909
|
13
|
Chris@909
|
14 <%= javascript_tag "setPredecessorFieldsVisibility();" %>
|