diff options
author | Parker Berberian <pberberian@iol.unh.edu> | 2019-01-02 14:38:37 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2019-01-02 14:38:37 +0000 |
commit | e4dd3bb46d8ca6b54820f8f087268042cd91e359 (patch) | |
tree | 3b5df6dc375de3b65a4c9df2be231d4d905539a9 | |
parent | 290101f5b9a7b6058b0b023042585b99c6d02ea6 (diff) | |
parent | 6e1164cc86620223daf77bc92941c8afb676f5f4 (diff) |
Merge "Removed document.open()"
-rw-r--r-- | src/templates/workflow/confirm.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/templates/workflow/confirm.html b/src/templates/workflow/confirm.html index 4f2616e..29b90c8 100644 --- a/src/templates/workflow/confirm.html +++ b/src/templates/workflow/confirm.html @@ -112,9 +112,9 @@ function fixVlans() { req.onerror = function() { alert("problem submitting form"); } req.onreadystatechange = function() { //replaces current page with response if(req.readyState === 4 ) { - document.open(); - document.write(req.responseText); - document.close(); + var d = document.getElementById("vlan_warning").innerHTML = ""; + document.getElementById("confirm_button").disabled = false; + document.getElementById("cancel_button").disabled = false; } } req.send(formData); |