CrunchyData / crunchy-postgresql-manager

PostgreSQL-as-a-Service Management Utility. Superseded by Crunchy Container Suite: https://github.com/CrunchyData/crunchy-containers
Apache License 2.0
37 stars 2 forks source link

fixed #23 - cancel issues POST error. #35

Closed abrightwell closed 9 years ago

abrightwell commented 9 years ago

According to the HTML spec the default button type is submit. This was causing the form to call ok() as well as it was always performing a submit when the cancel button was clicked. Using type button fixes this issue as the spec states this type "Represents a button with no additional semantics."