diff options
author | Sawyer Bergeron <sbergeron@iol.unh.edu> | 2019-07-02 13:27:43 -0400 |
---|---|---|
committer | Sawyer Bergeron <sbergeron@iol.unh.edu> | 2019-07-02 13:27:43 -0400 |
commit | 7cb4c3f79394a59e0276510261550ca6bb3a4fdf (patch) | |
tree | 609a6a97df43f5f397975a65fb71b1e470f6d093 /src/templates/config_bundle/steps/pick_installer.html | |
parent | 939f90eabd3fd6ac17b0a1a0646962ead88d5e99 (diff) |
Remove onleave + make form id's consistent
Change-Id: If167ae98226adfccfcfe2baa356370454a9931b4
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
Diffstat (limited to 'src/templates/config_bundle/steps/pick_installer.html')
-rw-r--r-- | src/templates/config_bundle/steps/pick_installer.html | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/templates/config_bundle/steps/pick_installer.html b/src/templates/config_bundle/steps/pick_installer.html index 31a06de..c3b505d 100644 --- a/src/templates/config_bundle/steps/pick_installer.html +++ b/src/templates/config_bundle/steps/pick_installer.html @@ -9,7 +9,7 @@ <h1>Please choose a config bundle first</h1> {% else %} -<form id="installer_form" action="/wf/workflow/" method="POST" id="installer_config_form" class="form"> +<form id="step_form" method="POST" class="form"> {% csrf_token %} <p>Choose your installer:</p> {% bootstrap_field form.installer %} @@ -20,13 +20,3 @@ {% endif %} {% endblock content %} - -{% block onleave %} -var form = $("#installer_form"); -var formData = form.serialize(); -var req = new XMLHttpRequest(); -req.open("POST", "/wf/workflow/", false); -req.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); -req.onerror = function() { alert("problem with form submission"); } -req.send(formData); -{% endblock %} |