aboutsummaryrefslogtreecommitdiffstats
path: root/src/templates/workflow
diff options
context:
space:
mode:
authorParker Berberian <pberberian@iol.unh.edu>2019-01-02 14:38:37 +0000
committerGerrit Code Review <gerrit@opnfv.org>2019-01-02 14:38:37 +0000
commite4dd3bb46d8ca6b54820f8f087268042cd91e359 (patch)
tree3b5df6dc375de3b65a4c9df2be231d4d905539a9 /src/templates/workflow
parent290101f5b9a7b6058b0b023042585b99c6d02ea6 (diff)
parent6e1164cc86620223daf77bc92941c8afb676f5f4 (diff)
Merge "Removed document.open()"
Diffstat (limited to 'src/templates/workflow')
-rw-r--r--src/templates/workflow/confirm.html6
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);