web/src/main/webapp/js/lt.js
// LOG the text to the database
LOG the text to the database
LOG the text to the database
function logit(text, html, undo) {
	$.ajax({
		url : appConfig.URL+"/logger",
		type : "POST",
		dataType : "text",
		data : {
			"text" : text,
			"html" : html,
			"hitId" : hitId,
			"undo" : undo,
			"workerId" : workerId,
			"assignmentId" : assignmentId
		},
		success : function(response) {
		}
	});
}
function logit ( text , html , undo ) { $ . ajax ( { url : appConfig . URL + "/logger" , type : "POST" , dataType : "text" , data : { "text" : text , "html" : html , "hitId" : hitId , "undo" : undo , "workerId" : workerId , "assignmentId" : assignmentId } , success : function ( response ) { } } ) ; }
LOG the text to the database
LOG the text to the database
/**
			//$("#checktext").text(response);
			numberOfChanges++;  
			// 15 or more and compare text for the final
			if (response == "yes" || numberOfChanges > COUNT || ($("#comment").val() !== '' && $("#comment").val().trim().split(' ').length > 5)) {
				enableButton()
			}
			else {
				disableButton()
			} */