youngj / Envaya

A technology platform for civil society organizations in developing countries
http://envaya.org
Other
17 stars 8 forks source link

fix behavior of enter key in html input fields #68

Closed youngj closed 13 years ago

youngj commented 13 years ago

by default enter acts as clicking the button that appears first in the html code. sometimes this is the delete button, which results in a javascript confirmation warning. other times it just submits the form, which might not be what the user wants either

youngj commented 13 years ago

in f84128aaf7777884f5a9a0c727c7ff0cd05a5865 ; enter still clicks normal submit buttons, but that's fine