X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=dashboard%2Fsrc%2Fstatic%2Fjs%2Fdashboard.js;fp=dashboard%2Fsrc%2Fstatic%2Fjs%2Fdashboard.js;h=84c3703cf16a9d8a0a9fb489e44be2521b733651;hb=fce290547954709c5b6184fddf31b370d23bbf0a;hp=bd43c7752decfd0ea9bfbf87a08646bb0dc760ca;hpb=032376249e846f487323ee98ece5bf0844fbee28;p=pharos-tools.git diff --git a/dashboard/src/static/js/dashboard.js b/dashboard/src/static/js/dashboard.js index bd43c77..84c3703 100644 --- a/dashboard/src/static/js/dashboard.js +++ b/dashboard/src/static/js/dashboard.js @@ -482,7 +482,7 @@ class NetworkStep { yes_button.appendChild(document.createTextNode("Okay")); const cancel_button = document.createElement("button"); - cancel_button.onclick = function() {thid.closeWindow();}.bind(this); + cancel_button.onclick = function() {this.closeWindow();}.bind(this); cancel_button.appendChild(document.createTextNode("Cancel")); const error_div = document.createElement("div");