<commit_before>	var removed_stack = [];

	$(document).ready(function() {
		$('select[name=select_procedure_id]').children().map(function() {
			removed_stack[$(this).val()] = $(this).text();
		});
	});

	$(function() {
		$('input[id=autocomplete_procedure_id]').watermark('type the first few characters of a procedure');
		$('input[name=schedule_timeframe1]').change(function() {
			var select = $('input[name=schedule_timeframe1]:checked').val();

			if (select == 1) {
				$('select[name=schedule_timeframe2]').attr('disabled', false);
			} else {
				$('select[name=schedule_timeframe2]').attr('disabled', true);
			}
		});

	$('input[name="ElementOperation[eye]"]').click(function() {
		updateTotalDuration();
		if ($('input[name="Procedures[]"]').length == 0) {
			$('input[id="autocomplete_procedure_id"]').focus();
		}
	});<commit_msg>javascript bugfixes for ElementOperation<commit_after>$(document).ready(function() {
	$('input[name=schedule_timeframe1]').change(function() {
		var select = $('input[name=schedule_timeframe1]:checked').val();

		if (select == 1) {
			$('select[name=schedule_timeframe2]').attr('disabled', false);
		} else {
			$('select[name=schedule_timeframe2]').attr('disabled', true);
		}
	});

	$('input[name="ElementOperation[eye]"]').click(function() {
		updateTotalDuration();
		if ($('input[name="Procedures[]"]').length == 0) {
			$('input[id="autocomplete_procedure_id"]').focus();
		}
	});
});
{'fraction_non_alphanumeric': 0.23324022346368714, 'fraction_numerical': 0.008379888268156424, 'mean_word_length': 6.463541666666667, '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': '3913746', 'n_tokens_mistral': 533, 'n_tokens_neox': 475, 'n_words': 56}