fix #755. Restores accesskey for toggling new todo form

Thanks marqpdx for finding this fix!

On my windows vista laptop with ff3 alt-shift-p will still start Windows Media Player, but the other accesskeys now seem to work for me
This commit is contained in:
Reinier Balt 2008-08-18 20:26:28 +02:00
parent 8d6267f92f
commit 223cf93597
2 changed files with 2 additions and 2 deletions

View file

@ -8,7 +8,7 @@
<div id="todo_new_action_container">
<div id="toggle_action_new" class="hide_form">
<a title="Hide new action form" accesskey="n">&laquo; Hide form</a>
<a title="Hide new action form" accesskey="n" href="#">&laquo; Hide form</a>
<% apply_behavior '#toggle_action_new a:click', :prevent_default => true do |page|
page << "TracksForm.toggle('toggle_action_new', 'todo_new_action', 'todo-form-new-action',
'&laquo; Hide form', 'Hide next action form',