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 | b52a1950816ebafa3c461221bf824aff950b9e1f (patch) | |
tree | 57c7e274e1109d1d20da3d4d0966c225bd9ff5e1 /dashboard | |
parent | 8c14ce442ff11f024c0d7318120dad71e7e91215 (diff) | |
parent | 24ff738bf0065cb98c35d354d03671541a9019ed (diff) |
Merge "Removed document.open()"
Diffstat (limited to 'dashboard')
-rw-r--r-- | dashboard/src/templates/workflow/confirm.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dashboard/src/templates/workflow/confirm.html b/dashboard/src/templates/workflow/confirm.html index 4f2616e..29b90c8 100644 --- a/dashboard/src/templates/workflow/confirm.html +++ b/dashboard/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); |