From 72f83dddd904f26e4dfd8b92369fbefc6e78e14d Mon Sep 17 00:00:00 2001 From: Eduardo Rey Jara Date: Fri, 9 Mar 2018 16:04:57 +0100 Subject: [PATCH] SAM-3380 - JS Error when you enter Event Log (#5392) --- samigo/samigo-app/src/webapp/js/eventInfo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samigo/samigo-app/src/webapp/js/eventInfo.js b/samigo/samigo-app/src/webapp/js/eventInfo.js index 888cdb2c877b..58321e98f38c 100644 --- a/samigo/samigo-app/src/webapp/js/eventInfo.js +++ b/samigo/samigo-app/src/webapp/js/eventInfo.js @@ -17,7 +17,7 @@ $(document).ready( $(tr).css('color','#AAA'); }); $("#eventLogId\\:assessmentTitle option").each(function(){ - if(this.innerHTML.contains('-deleted')){ + if(typeof this.innerHTML.contains !== "undefined" && this.innerHTML.contains('-deleted')){ this.style="color:#AAA"; } });