Commit 22947a5d authored by Aron Carroll's avatar Aron Carroll

Fix form errors on submit

parent 44ac8a54
...@@ -33,7 +33,7 @@ formValidate = -> ...@@ -33,7 +33,7 @@ formValidate = ->
# Validate the field when submit is clicked. # Validate the field when submit is clicked.
elem.on 'submit', (event) -> elem.on 'submit', (event) ->
updateField(field) for _, field of form updateField(field) for own key, field of form when key[0] != '$'
require: 'form' require: 'form'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment