Commit 68c7b523 authored by Phil Hughes's avatar Phil Hughes

Fixed fields not being sent

parent 3354bfd8
...@@ -33,9 +33,10 @@ ...@@ -33,9 +33,10 @@
formSubmit() { formSubmit() {
const $this = $(this); const $this = $(this);
$this.disable() $this.closest('form')
.closest('form')
.trigger("submit.rails"); .trigger("submit.rails");
$this.disable();
} }
formSuccess() { formSuccess() {
......
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