Permalink
Browse files

Keyboard shortcuts for the «Save & New» (S) and the «Preview» (P) but…

…tons.
  • Loading branch information...
1 parent b65b69d commit 1fc528072e4205709130dee48ebde3363cc124cb Philipp Bosch committed with quirkey Oct 21, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 _attachments/templates/edit.html.erb
@@ -26,8 +26,8 @@
<% if ((slide.position - 1) > 0) { %>
<button class="linked-button" name="prev" rel="#/preso/<%= preso.attributes._id %>/edit/<%= slide.position - 1 %>">Previous</button>
<% } %>
- <button type="submit" class="submit default">Save &amp; Next</button>
- <button class="linked-button submit" name="display" rel="#/preso/<%= preso.attributes._id %>/display/<%= slide.position %>">Preview</button>
+ <button type="submit" class="submit default" accesskey="s">Save &amp; Next</button>
+ <button class="linked-button submit" name="display" rel="#/preso/<%= preso.attributes._id %>/display/<%= slide.position %>" accesskey="p">Preview</button>
</p>
<%= f.close() %>
<% }); %>

0 comments on commit 1fc5280

Please sign in to comment.