##// END OF EJS Templates
Refocus the related issue field after submitting an issue. #6275...
Eric Davis -
r3951:270b559d362a
parent child
Show More
@@ -28,6 +28,7
28 <% remote_form_for(:relation, @relation,
28 <% remote_form_for(:relation, @relation,
29 :url => {:controller => 'issue_relations', :action => 'new', :issue_id => @issue},
29 :url => {:controller => 'issue_relations', :action => 'new', :issue_id => @issue},
30 :method => :post,
30 :method => :post,
31 :complete => "Form.Element.focus('relation_issue_to_id');",
31 :html => {:id => 'new-relation-form', :style => (@relation ? '' : 'display: none;')}) do |f| %>
32 :html => {:id => 'new-relation-form', :style => (@relation ? '' : 'display: none;')}) do |f| %>
32 <%= render :partial => 'issue_relations/form', :locals => {:f => f}%>
33 <%= render :partial => 'issue_relations/form', :locals => {:f => f}%>
33 <% end %>
34 <% end %>
General Comments 0
You need to be logged in to leave comments. Login now