<commit_before>$(document).ready(function(){
	

	$('.delete_attendance').live('click',
		function(e){
		e.preventDefault();
				$("#action").val("delete");
				choice=confirm("Are you absolutely sure you want to delete this attendance entry? This cannot be undone!");
				if(choice) {
					document.forms["attendanceEditor"].submit();
				}else{
					return false;
				}
			}//end function(event)
	);//end click
	
	$('.search_attendance').live('click',function(e){
		e.preventDefault();
		 var startDate=$('#startDate').val();
		 var endDate=$('#endDate').val();
		 if(startDate=="" || endDate==""){
			 alert("Start and End dates are Required!");
		 }else{
			 document.forms['attendance_search'].submit();
		 }
	});
	$("#attendType").live("change", function(){
		$("#attend-length-notice").html("Please make sure to identify the length of the absence").addClass("notice");
		if($("#attendType").val() == "Appointment"){
			$("#attendLength-None").attr("checked",true);
		}else if($("#attendType").val() == "Tardy"){
		$("#attendLength-Half").attr("checked",true);
		}
	});

}// end ready

);// end $(document)

<commit_msg>clean up after removing specific ajax delete functions--move toward uniform delete options.<commit_after>$(document).ready(function(){
	
	$("#attendType").live("change", function(){
		$("#attend-length-notice").html("Please make sure to identify the length of the absence").addClass("notice");
		if($("#attendType").val() == "Appointment"){
			$("#attendLength-None").attr("checked",true);
		}else if($("#attendType").val() == "Tardy"){
		$("#attendLength-Half").attr("checked",true);
		}
	});

}// end ready

);// end $(document)


{'fraction_non_alphanumeric': 0.22812311406155703, 'fraction_numerical': 0.0, 'mean_word_length': 4.879432624113475, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '3550738', 'n_tokens_mistral': 567, 'n_tokens_neox': 508, 'n_words': 104}