aboutsummaryrefslogtreecommitdiffstats
path: root/src/templates/resource/steps
diff options
context:
space:
mode:
authorParker Berberian <pberberian@iol.unh.edu>2019-06-25 18:51:28 +0000
committerGerrit Code Review <gerrit@opnfv.org>2019-06-25 18:51:28 +0000
commit896c5a9fba1c567d938539f251937f4bef11c686 (patch)
tree1433c667699d49be6266ee11df8c84652925f8fc /src/templates/resource/steps
parentd0ef55b1ba456858f811dd127986591c42312136 (diff)
parent0b82b343f6d84a7420a2aea573a7c8d9597d8652 (diff)
Merge "Move JS to external file"
Diffstat (limited to 'src/templates/resource/steps')
-rw-r--r--src/templates/resource/steps/define_hardware.html15
1 files changed, 1 insertions, 14 deletions
diff --git a/src/templates/resource/steps/define_hardware.html b/src/templates/resource/steps/define_hardware.html
index 77df5a2..57078e9 100644
--- a/src/templates/resource/steps/define_hardware.html
+++ b/src/templates/resource/steps/define_hardware.html
@@ -15,20 +15,7 @@ with your current configuration will become unavailable.</p>
</form>
{% endblock content %}
{% block onleave %}
-var normalize = function(data){
- //converts the top level keys in data to map to lists
- var normalized = {}
- for( var key in data ){
- normalized[key] = [];
- for( var subkey in data[key] ){
- normalized[key].push(data[key][subkey]);
- }
- }
- return normalized;
-}
-var data = result;
-data = JSON.stringify(data);
-document.getElementById("filter_field").value = data;
+multi_filter_widget.finish();
var formData = $("#define_hardware_form").serialize();
req = new XMLHttpRequest();
req.open('POST', '/wf/workflow/', false);