summaryrefslogtreecommitdiffstats
path: root/app/views/issue_relations
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-09-20 16:59:37 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-09-20 16:59:37 +0000
commit30b3e796ffe5ea5beb6fbf03d3f000e8968f89bb (patch)
tree1c1e63b4c22d17544bf5608c166b08c7265f017f /app/views/issue_relations
parentc1b71e84c6f733c46fdeac69e444f332dde01b52 (diff)
downloadredmine-30b3e796ffe5ea5beb6fbf03d3f000e8968f89bb.tar.gz
redmine-30b3e796ffe5ea5beb6fbf03d3f000e8968f89bb.zip
New relation form Cancel link is broken with Chrome 21 (#11036).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10436 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/issue_relations')
-rw-r--r--app/views/issue_relations/_form.html.erb2
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))}')" %>