Commit 6d96e83c authored by Alfredo Sumaran's avatar Alfredo Sumaran

Prevent form to be submitted twice

parent 9d799924
...@@ -36,6 +36,7 @@ ...@@ -36,6 +36,7 @@
} }
onSubmitForm(e) { onSubmitForm(e) {
e.preventDefault();
return this.saveForm(); return this.saveForm();
} }
......
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