Skip to content

Commit

Permalink
WB-1621 respond to code review feedback and make confirm no match but…
Browse files Browse the repository at this point in the history
…ton not visible to non-logged-in users
  • Loading branch information
Atticus29 committed Nov 26, 2021
1 parent 1f3bbf5 commit 5a621c6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/main/webapp/iaResults.jsp
Expand Up @@ -1519,7 +1519,13 @@ function displayAnnotDetails(taskId, res, num, illustrationUrl, acmIdPassed) {
//console.log(" ----------------------> CHECKBOX FEATURE: "+JSON.stringify(ft));
var displayName = ft.displayName;
<%
if(user != null){
%>
if (isQueryAnnot) addNegativeButton(encId, displayName);
<%
}
%>
// if the displayName isn't there, we didn't get it from the queryAnnot. Lets get it from one of the encs on the results list.
if (typeof displayName == 'undefined' || displayName == "" || displayName == null) {
Expand Down

0 comments on commit 5a621c6

Please sign in to comment.