Redmine 3.4.4
This commit is contained in:
commit
64924a6376
2112 changed files with 259028 additions and 0 deletions
9
app/views/projects/autocomplete.js.erb
Normal file
9
app/views/projects/autocomplete.js.erb
Normal file
|
@ -0,0 +1,9 @@
|
|||
<%
|
||||
s = ''
|
||||
if @projects.any?
|
||||
s = render_projects_for_jump_box(@projects)
|
||||
elsif params[:q].present?
|
||||
s = content_tag('span', l(:label_no_data))
|
||||
end
|
||||
%>
|
||||
$('#project-jump .drdn-items.projects').html('<%= escape_javascript s %>');
|
Loading…
Add table
Add a link
Reference in a new issue