projects
/
selectricity
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
A series of cosmetic improvements to quickvoting and to the general
[selectricity]
/
app
/
views
/
quickvote
/
_candidate_list.rhtml
diff --git
a/app/views/quickvote/_candidate_list.rhtml
b/app/views/quickvote/_candidate_list.rhtml
index 5c76d62d8c3bd380cf39b254c0b423109270fc4f..f4f1c0628c06d91139300d38a0338cbfa3b02611 100644
(file)
--- a/
app/views/quickvote/_candidate_list.rhtml
+++ b/
app/views/quickvote/_candidate_list.rhtml
@@
-9,7
+9,8
@@
<% end %>
<%= form_remote_tag :update => 'candlist',
<% 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(+)" %>
<p>
<%= text_field "ajax", "newcandidate", :size => 40 %>
<%= submit_tag "Add(+)" %>
Benjamin Mako Hill
||
Want to submit a patch?