diff options
Diffstat (limited to 'src/templates/config_bundle/steps/table_formset.html')
-rw-r--r-- | src/templates/config_bundle/steps/table_formset.html | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/src/templates/config_bundle/steps/table_formset.html b/src/templates/config_bundle/steps/table_formset.html index e19f3df..d25621e 100644 --- a/src/templates/config_bundle/steps/table_formset.html +++ b/src/templates/config_bundle/steps/table_formset.html @@ -18,7 +18,7 @@ <h1 class="text-center">{{ error }}</h1> {% else %} <div class="p-2"> - <form method="post" action="" class="form" id="table_formset"> + <form method="post" class="form" id="step_form"> <!-- formset, requires special consideration --> {% csrf_token %} <div class="row"> @@ -51,14 +51,3 @@ {% block tablejs %} {% endblock tablejs %} {% endblock extrajs %} - - -{% block onleave %} -var form = $("#table_formset"); -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 %} |