aboutsummaryrefslogtreecommitdiffstats
path: root/src/templates/booking/quick_deploy.html
diff options
context:
space:
mode:
authorParker Berberian <pberberian@iol.unh.edu>2019-07-02 11:47:24 -0400
committerParker Berberian <pberberian@iol.unh.edu>2019-07-02 12:48:34 -0400
commitdf2f95d0adb652b132fef7aaccfd9e3c98200c51 (patch)
tree9d4e0dc6135e7bc660374695df5e264a5660bee8 /src/templates/booking/quick_deploy.html
parent939f90eabd3fd6ac17b0a1a0646962ead88d5e99 (diff)
Unify Form Submission
Creates a single way to do form submission with hooks to run callbacks. Change-Id: I470ab56219c28c35fe3236b30a0ac65e29236af6 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
Diffstat (limited to 'src/templates/booking/quick_deploy.html')
-rw-r--r--src/templates/booking/quick_deploy.html7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/templates/booking/quick_deploy.html b/src/templates/booking/quick_deploy.html
index f1ba491..50ec59a 100644
--- a/src/templates/booking/quick_deploy.html
+++ b/src/templates/booking/quick_deploy.html
@@ -55,10 +55,7 @@
<script type="text/javascript">
function submit_form()
{
- //formats data for form submission
- multi_filter_widget.finish();
- // Submit the form manually since confirm button is type="button" now
- // due to the form submitting before the data was even created by finish()
+ run_form_callbacks();
document.getElementById("quick_booking_form").submit();
}
@@ -148,4 +145,4 @@
}
}
</script>
-{% endblock %} \ No newline at end of file
+{% endblock %}