diff --git a/html5/index.html b/html5/index.html index 4a25c90..fc403af 100644 --- a/html5/index.html +++ b/html5/index.html @@ -249,7 +249,7 @@ experiments:
- +
'); } };; oReq.setRequestHeader("Content-Type", "application/json"); @@ -237,13 +237,17 @@ function disableLogTail() { } function setLogRegex() { - $('#alert_placeholder3').replaceWith(log_tail_div + 'Setting regex for filtering log source (by pod name)'); + + log_tail_div.style.display = "block"; + + $('#alert_placeholder3').replaceWith(log_tail_alert + 'Setting regex for filtering log source (by pod name)'); + var oReq = new XMLHttpRequest(); oReq.open("POST", "https://" + clu_endpoint + "/kube/chaos/containers?action=set_log_regex", true); oReq.onreadystatechange = function () { if (this.readyState === XMLHttpRequest.DONE && this.status === 200) { - $('#alert_placeholder3').replaceWith(log_tail_div + 'Regex has been configured...'); + $('#alert_placeholder3').replaceWith(log_tail_alert + 'Regex has been configured...'); } };;