diff options
Diffstat (limited to 'app/views/issue_relations')
-rw-r--r-- | app/views/issue_relations/_form.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/issue_relations/_form.html.erb b/app/views/issue_relations/_form.html.erb index a1db3802f..29b7f0f14 100644 --- a/app/views/issue_relations/_form.html.erb +++ b/app/views/issue_relations/_form.html.erb @@ -6,7 +6,7 @@ <%= l(:field_delay) %>: <%= f.text_field :delay, :size => 3 %> <%= l(:label_day_plural) %> </span> <%= submit_tag l(:button_add) %> -<%= toggle_link l(:button_cancel), 'new-relation-form'%> +<%= link_to_function l(:button_cancel), '$("#new-relation-form").hide();'%> </p> <%= javascript_tag "observeAutocompleteField('relation_issue_to_id', '#{escape_javascript auto_complete_issues_path(:project_id => @project, :scope => (Setting.cross_project_issue_relations? ? 'all' : nil))}')" %> |