diff --git a/public/bpic_eli/risk_history.html b/public/bpic_eli/risk_history.html
index 67588f3..c7dcba3 100644
--- a/public/bpic_eli/risk_history.html
+++ b/public/bpic_eli/risk_history.html
@@ -1226,6 +1226,10 @@
var noPadding = Utils.getQueryParam('noPT');
ping.onclick = function() {
DialogHandler.showDialog();
+
+ var error = document.getElementById('error-msg')
+ error.innerHTML = ''
+
var commentText = document.getElementById('commentText')
var saveBtn = document.getElementById('saveBtn')
@@ -1237,8 +1241,8 @@
saveBtn.style.display = 'none'
}
if(commentText.value){
- // commentText.setAttribute('disabled',true)
- // saveBtn.style.display = 'none'
+ commentText.setAttribute('disabled',true)
+ saveBtn.style.display = 'none'
}
};