新建问题主题添加查询

exceptionHandle
zhangyang 12 years ago
parent 01a80f0eeb
commit eceecc1380

@ -19,6 +19,9 @@
<% if @issue.safe_attribute? 'subject' %> <% if @issue.safe_attribute? 'subject' %>
<p><%= f.text_field :subject, :size => 80, :maxlength => 255, :required => true, :style => "font-size:small" %></p> <p><%= f.text_field :subject, :size => 80, :maxlength => 255, :required => true, :style => "font-size:small" %></p>
<!--Added by young-->
<%= javascript_tag "observeAutocompleteField('issue_subject', '#{escape_javascript auto_complete_issues_path(:project_id => @project, :scope => (Setting.cross_project_issue_relations? ? 'all' : nil))}')" %>
<!--End by young-->
<% end %> <% end %>
<% if @issue.safe_attribute? 'description' %> <% if @issue.safe_attribute? 'description' %>

Loading…
Cancel
Save