<commit_before>recordbrowser_edit_history_jump = function (selected_date, tab, id, form_name) {
	$('historical_view_pick_date').value = selected_date;
	recordbrowser_edit_history(tab, id, form_name);
}

recordbrowser_edit_history = function (tab, id, form_name) {
	var field = "historical_view_pick_date";
	new Ajax.Request('modules/Utils/RecordBrowser/edit_history.php', {
		method: 'post',
		parameters:{
			tab: tab,
			id: id,
			date: document.forms[form_name].elements[field].value,
			cid: Epesi.client_id
		},
		onSuccess:function(t) {
			eval(t.responseText);
		}
	});
}<commit_msg>[UPDATE] jquery rewrite of edit_history.js<commit_after>recordbrowser_edit_history_jump = function (selected_date, tab, id, form_name) {
	jq('#historical_view_pick_date').val(selected_date);
	recordbrowser_edit_history(tab, id, form_name);
}

recordbrowser_edit_history = function (tab, id, form_name) {
	var field = "historical_view_pick_date";
	jq.ajax({
		type: 'post',
		url: 'modules/Utils/RecordBrowser/edit_history.php', 
		data:{
			tab: tab,
			id: id,
			date: document.forms[form_name].elements[field].value,
			cid: Epesi.client_id
		},
		success:function(response) {
			eval(response);
		}
	});
}
{'fraction_non_alphanumeric': 0.13666666666666666, 'fraction_numerical': 0.0, 'mean_word_length': 5.5989010989010985, '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': '402708', 'n_tokens_mistral': 469, 'n_tokens_neox': 423, 'n_words': 72}