aboutsummaryrefslogtreecommitdiffstats
path: root/src/templates/config_bundle/steps/config_software.html
diff options
context:
space:
mode:
authorSawyer Bergeron <sbergeron@iol.unh.edu>2019-07-02 13:27:43 -0400
committerSawyer Bergeron <sbergeron@iol.unh.edu>2019-07-02 13:27:43 -0400
commit7cb4c3f79394a59e0276510261550ca6bb3a4fdf (patch)
tree609a6a97df43f5f397975a65fb71b1e470f6d093 /src/templates/config_bundle/steps/config_software.html
parent939f90eabd3fd6ac17b0a1a0646962ead88d5e99 (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/config_software.html')
-rw-r--r--src/templates/config_bundle/steps/config_software.html12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/templates/config_bundle/steps/config_software.html b/src/templates/config_bundle/steps/config_software.html
index 68417bc..6fe0ac1 100644
--- a/src/templates/config_bundle/steps/config_software.html
+++ b/src/templates/config_bundle/steps/config_software.html
@@ -5,7 +5,7 @@
{% block content %}
-<form action="/wf/workflow/" method="POST" id="software_config_form" class="form">
+<form method="POST" id="step_form" class="form">
{% csrf_token %}
<p>Give it a name:</p>
{% bootstrap_field form.name %}
@@ -16,13 +16,3 @@
{% endblock content %}
-
-{% block onleave %}
-var ajaxForm = $("#software_config_form");
-var formData = ajaxForm.serialize();
-req = new XMLHttpRequest();
-req.open("POST", "/wf/workflow/", false);
-req.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
-req.onerror = function() { alert("problem submitting form"); }
-req.send(formData);
-{% endblock %}