Always instanciate a relation.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11610 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
:as => :relation, :remote => true,
|
||||
:url => issue_relations_path(@issue),
|
||||
:method => :post,
|
||||
:html => {:id => 'new-relation-form', :style => (@relation ? '' : 'display: none;')}
|
||||
:html => {:id => 'new-relation-form', :style => 'display: none;'}
|
||||
} do |f| %>
|
||||
<%= render :partial => 'issue_relations/form', :locals => {:f => f}%>
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user