diff options
author | Parker Berberian <pberberian@iol.unh.edu> | 2019-07-03 13:15:06 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2019-07-03 13:15:06 +0000 |
commit | 9e22f1782fd81a915d71d47aecc84955f9b996bc (patch) | |
tree | 4861a816c2c2176e868a078e04e350757a6c7e1a /src/templates/config_bundle/steps/config_software.html | |
parent | e3389d42758feef5dad48e0bbcd5a0a3f6af4206 (diff) | |
parent | 7cb4c3f79394a59e0276510261550ca6bb3a4fdf (diff) |
Merge "Remove onleave + make form id's consistent"
Diffstat (limited to 'src/templates/config_bundle/steps/config_software.html')
-rw-r--r-- | src/templates/config_bundle/steps/config_software.html | 12 |
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 %} |