A tiny change to alter the tabindex of the submit button on the edit action form. The tab index on that form was working fine for me, but hopefully this should fix tab index problems that some others have been having with that form.

Hopefully fixes #519


git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@550 a4c988fc-2ded-0310-b66e-134b36920a42
This commit is contained in:
bsag 2007-06-03 15:20:31 +00:00
parent 47abca3034
commit e16b013548

View file

@ -59,7 +59,7 @@ Event.observe($('<%= dom_id(@todo, 'context_name') %>'), "click", <%= dom_id(@to
<input type="hidden" name="on_project_page" value="true" /> <input type="hidden" name="on_project_page" value="true" />
<% end -%> <% end -%>
<div class="submit_box"><input id="<%= dom_id(@todo, 'submit') %>" type="submit" value="Update" tabindex="14" /> <div class="submit_box"><input id="<%= dom_id(@todo, 'submit') %>" type="submit" value="Update" tabindex="15" />
<a href="javascript:void(0);" onclick="Element.toggle('<%= dom_id(@todo, 'line') %>');Element.toggle('<%= dom_id(@todo, 'edit') %>');">Cancel</a> <a href="javascript:void(0);" onclick="Element.toggle('<%= dom_id(@todo, 'line') %>');Element.toggle('<%= dom_id(@todo, 'edit') %>');">Cancel</a>
</div> </div>