A series of cosmetic improvements to quickvoting and to the general
[selectricity] / app / views / quickvote / _candidate_list.rhtml
index 5c76d62d8c3bd380cf39b254c0b423109270fc4f..f4f1c0628c06d91139300d38a0338cbfa3b02611 100644 (file)
@@ -9,7 +9,8 @@
 <% end %>
 
 <%= form_remote_tag :update => 'candlist',
-                    :url => { :action => 'add_candidate' } %>
+                    :url => { :action => 'add_candidate' },
+                   :complete => "Field.focus('ajax_newcandidate')" %>
 <p>
   <%= text_field "ajax", "newcandidate", :size => 40 %>
   <%= submit_tag "Add(+)" %>

Benjamin Mako Hill || Want to submit a patch?