mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-31 14:28:49 +01:00
adds juery.ui autocomplete extension selectFirst to select the first matching entry
This commit is contained in:
parent
564f209800
commit
1a42f00a0a
4 changed files with 33 additions and 5 deletions
|
|
@ -7,7 +7,7 @@
|
|||
<%= javascript_include_tag 'jquery-1.5.min', 'jquery-ui-1.8.9.custom.min', 'jquery.truncator',
|
||||
'jquery.jeditable.mini', 'jquery.cookie', 'jquery.blockUI', 'jquery.form', :cache => 'jquery-cached' %>
|
||||
<%= javascript_include_tag 'hoverIntent','superfish','application',
|
||||
'accesskey-hints','niftycube','swfobject', :cache => 'tracks-cached' %>
|
||||
'accesskey-hints','niftycube','swfobject','jquery.ui.autocomplete.selectFirst', :cache => 'tracks-cached' %>
|
||||
<%= javascript_tag "var AUTH_TOKEN = #{form_authenticity_token.inspect};" if protect_against_forgery? %>
|
||||
<%= javascript_tag "var SOURCE_VIEW = '#{@source_view}';" %>
|
||||
<%= javascript_tag "var TAG_NAME = '#{@tag_name}';" if @tag_name %>
|
||||
|
|
|
|||
|
|
@ -14,4 +14,6 @@ function replace_placeholder_with_form() {
|
|||
|
||||
function html_for_edit_form() {
|
||||
return "<%= escape_javascript(render(:partial => 'todos/edit_form', :object => @todo)) %>"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue