Feature #23310 » autocomplete-off.diff
| app/helpers/application_helper.rb | ||
|---|---|---|
|
projects = projects_for_jump_box(User.current)
|
||
|
text = @project.try(:name) || l(:label_jump_to_a_project)
|
||
|
trigger = content_tag('span', text, :class => 'drdn-trigger')
|
||
|
q = text_field_tag('q', '', :id => 'projects-quick-search', :class => 'autocomplete', :data => {:automcomplete_url => projects_path(:format => 'js')})
|
||
|
q = text_field_tag('q', '', :id => 'projects-quick-search', :class => 'autocomplete', :data => {:automcomplete_url => projects_path(:format => 'js')}, :autocomplete => 'off')
|
||
|
all = link_to(l(:label_project_all), projects_path(:jump => current_menu_item), :class => (@project.nil? && controller.class.main_menu ? 'selected' : nil))
|
||
|
content = content_tag('div',
|
||
|
content_tag('div', q, :class => 'quick-search') +
|
||
- « Previous
- 1
- …
- 10
- 11
- 12
- Next »