X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/404bd293fe621a270748df828c67e507b350920b..dc635b6d39be19a09a428282b6d639d029908df6:/app/views/quickvote/_candidate_list.rhtml diff --git a/app/views/quickvote/_candidate_list.rhtml b/app/views/quickvote/_candidate_list.rhtml old mode 100644 new mode 100755 index 1176e97..f4f1c06 --- a/app/views/quickvote/_candidate_list.rhtml +++ b/app/views/quickvote/_candidate_list.rhtml @@ -9,9 +9,10 @@ <% 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" %> + <%= submit_tag "Add(+)" %>

<%= end_form_tag %>