X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/49997d3063f434e33e64040fdb57ba30f4e4c2a8..0f9228bed08f8f5e472b27a46ce05de27afd880b:/app/views/quickvote/_candidate_list.rhtml diff --git a/app/views/quickvote/_candidate_list.rhtml b/app/views/quickvote/_candidate_list.rhtml index 5c76d62..f4f1c06 100644 --- a/app/views/quickvote/_candidate_list.rhtml +++ b/app/views/quickvote/_candidate_list.rhtml @@ -9,7 +9,8 @@ <% end %> <%= form_remote_tag :update => 'candlist', - :url => { :action => 'add_candidate' } %> + :url => { :action => 'add_candidate' }, + :complete => "Field.focus('ajax_newcandidate')" %>
<%= text_field "ajax", "newcandidate", :size => 40 %> <%= submit_tag "Add(+)" %>