Closed OscarGodson closed 13 years ago
Fixed. Developer note:
Add the HTML attribute data-default="default"
(or just data-default
if you're lazy) to whatever button you want to be the "enter" command. Whatever you put that on will be "clicked" when the user presses enter. Example:
<a class="button" href="#!/edit/save" data-default="default">Save</a>
<a class="button" href="#!/edit/cancel">Cancel</a>
Enter/Return should close a modal with a default value. I.e. Create New Agenda > Enter would then create a new Agenda as if you pressed enter. Delete should default to No.