<commit_before><%@ include file="/WEB-INF/views/taglibs.jsp" %>
<%@ page import = "java.util.ArrayList" %>

<html>
<head>
 	<tags:dwrJavascriptLink objects="reviewAeReport"/>
    <script>
	    var routingHelper = new RoutingAndReviewHelper(reviewAeReport, 'reviewAeReport');
	    
	    function addComment(reportId){
			routingHelper.addComment(reportId);
		}
	
		function editComment(id, reportId){
			routingHelper.enableEditMode(id, reportId);
		}
		
		function deleteComment(id, reportId){
			routingHelper.deleteComment(id, reportId);
		}
	
		function cancelEdit(reportId){
			routingHelper.disableEditMode(reportId);
		}
		
		function saveEditedComment(reportId){
			routingHelper.editComment(reportId);
		}
		
		function collapseAllComments(reportId){
			routingHelper.collapseAllComments(reportId);
		}

		function expandAllComments(reportId){
			routingHelper.expandAllComments(reportId);
		}
		
		function advanceWorkflow(entityId, value){
			routingHelper.advanceWorkflow(entityId, value);
		}
		
		function submitReport(reportId){
			var url = '<c:url value="/pages/ae/submitReport?aeReport=${command.aeReport.id}&reportId=' + reportId + '"/>';
			window.location = url;
		}
		
		function createDropDowns() {
		jQuery(".fg-button").each(function(){
			id = jQuery(this).attr("id");
			options = "options-" + id;
			jQuery("#"+id).menu({
				content: jQuery("#"+options).html(),		
				maxHeight: 180,
				width: 230,
                positionOpts: {
                    directionV: 'down',
                    posX: 'right',
                    posY: 'bottom',
                    offsetX: 0,
                    offsetY: 0
                },
                showSpeed: 300
			});
		});
	}
		
		Event.observe(window, "load", function(){
	    	if(${command.workflowEnabled}){
            	routingHelper.retrieveReviewCommentsAndActions('${command.reportId}');
 			}
	    });
	</script>
	<style>
		#scrollbar_content {
			overflow:auto;
			width:485px;
			height: 180px;
		}
		#enter-comment-text {
			width:392px;
			height:60%;
		}
		
        td.completion-messages p {
            margin-top: 0;
        }
        td.completion-messages h4 {
            padding: 6px 0 2px 0;
        }
        td.completion-messages ul {
            padding: 0;
            margin: 0;
        }
        td.completion-messages ul li {
            padding: 0;
            margin: 0;
            margin-left: 1em;
        }
		.fg-menu a:link, .fg-menu a:visited, .fg-menu a:hover, .fg-menu a:active {
			font-size:10pt;
		}
	</style>
</head>
<body>
	 <applet code="ch.randelshofer.pdf.EmbedPDFApplet" archive="<c:url value="/EmbedPDF3.jar"/>" width="100%" height="520">
	 			    <param name="pdf" value="<c:url value="/pages/ae/generateExpeditedfPdf?format=pdf&aeReport=${command.aeReport.id }&reportId=${command.reportId}"/>"/>
   			     	<param name="codebase_lookup" value="false">
   			     	<param name="classloader_cache" value="false">
   			     	<param name="java_arguments" value="-Djnlp.packEnabled=true"/>
   		   		  	<param name="image" value="lib/Splash.gif"/>
   		     		<param name="boxborder" value="false"/>
   	   		  		<param name="centerimage" value="true"/>
	 	<commit_msg>CAAERS-4009: Report reviewer is not shown submit button: fixed by adding an IE-specific CSS style.<commit_after><%@ include file="/WEB-INF/views/taglibs.jsp" %>
<%@ page import = "java.util.ArrayList" %>

<html>
<head>
 	<tags:dwrJavascriptLink objects="reviewAeReport"/>
    <script>
	    var routingHelper = new RoutingAndReviewHelper(reviewAeReport, 'reviewAeReport');
	    
	    function addComment(reportId){
			routingHelper.addComment(reportId);
		}
	
		function editComment(id, reportId){
			routingHelper.enableEditMode(id, reportId);
		}
		
		function deleteComment(id, reportId){
			routingHelper.deleteComment(id, reportId);
		}
	
		function cancelEdit(reportId){
			routingHelper.disableEditMode(reportId);
		}
		
		function saveEditedComment(reportId){
			routingHelper.editComment(reportId);
		}
		
		function collapseAllComments(reportId){
			routingHelper.collapseAllComments(reportId);
		}

		function expandAllComments(reportId){
			routingHelper.expandAllComments(reportId);
		}
		
		function advanceWorkflow(entityId, value){
			routingHelper.advanceWorkflow(entityId, value);
		}
		
		function submitReport(reportId){
			var url = '<c:url value="/pages/ae/submitReport?aeReport=${command.aeReport.id}&reportId=' + reportId + '"/>';
			window.location = url;
		}
		
		function createDropDowns() {
		jQuery(".fg-button").each(function(){
			id = jQuery(this).attr("id");
			options = "options-" + id;
			jQuery("#"+id).menu({
				content: jQuery("#"+options).html(),		
				maxHeight: 180,
				width: 230,
                positionOpts: {
                    directionV: 'down',
                    posX: 'right',
                    posY: 'bottom',
                    offsetX: 0,
                    offsetY: 0
                },
                showSpeed: 300
			});
		});
	}
		
		Event.observe(window, "load", function(){
	    	if(${command.workflowEnabled}){
            	routingHelper.retrieveReviewCommentsAndActions('${command.reportId}');
 			}
	    });
	</script>
	<style>
		#scrollbar_content {
			overflow:auto;
			width:485px;
			height: 180px;
		}
		#enter-comment-text {
			width:392px;
			height:60%;
		}
		
        td.completion-messages p {
            margin-top: 0;
        }
        td.completion-messages h4 {
            padding: 6px 0 2px 0;
        }
        td.completion-messages ul {
            padding: 0;
            margin: 0;
        }
        td.completion-messages ul li {
            padding: 0;
            margin: 0;
            margin-left: 1em;
        }
		.fg-menu a:link, .fg-menu a:visited, .fg-menu a:hover, .fg-menu a:active {
			font-size:10pt;
		}
		
		<!--[if IE]>

		.fg-button {    
    		position: static !important;    
		}		

		<![endif]-->
		
	</style>
</head>
<body>
	 <applet code="ch.randelshofer.pdf.EmbedPDFApplet" archive="<c:url value="/EmbedPDF3.jar"/>" width="100%" height="520">
	 			    <param name="pdf" value="<c:url value="/pages/ae/generateExpeditedfPdf?format=pdf&aeReport=${command.aeReport.id }&reportId=${command.reportId}"/>"/>
   			     	<param name="codebase_lookup" value="false">
   			     	<param name="classloader_cache" value="false">
   			     	<param name="java_arguments" value="-Djnlp.packEnabled=true"/>
   		   		  	<param name="image" value="lib/Splash.gif"/>
   		     		<param name="boxborder" value="false"/>
   	   		  		<param name="centerimage" value="true"/>
	 	
{'fraction_non_alphanumeric': 0.14461866341908966, 'fraction_numerical': 0.013396255137768306, 'mean_word_length': 2.5803814713896456, 'pattern_counts': {'":': 0, '<': 49, '<?xml version=': 0, '>': 49, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6442914', 'n_tokens_mistral': 2468, 'n_tokens_neox': 2087, 'n_words': 351}