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

    $("form").validationEngine()
    
    $("#save").click(function(){
        var validation_result = $("form").validationEngine('validate')
        if (validation_result == true){
            var name = $("#newcontact input[name=name]").val()
            var email = $("#newcontact input[name=email]").val()
            var notes = $("#newcontact textarea[name=notes]").val()

            var phone_1 = $("input[name=phone_1]").val()
            var phone_2 = $("input[name=phone_2]").val()
            var phone_3 = $("input[name=phone_3]").val()
            var phone = phone_1 + phone_2 + phone_3

            var street = $("input[name=street]").val()
            var city = $("input[name=city]").val()
            var state = $("input[name=state]").val()
            var zipcode = $("input[name=zip]").val()

            address = {'street':street, 'city':city, 'state':state, 'zipcode':zipcode}

            //Flash message
            show_flash("setting", "Creating donor...", false)
            
            var params = {'name':name, 'email':email, 'phone':phone, 'address':address, 'notes':notes}
            var request = ghiapi.new.contact(params)

            request.execute(function(response){
                rpcSuccessMessage(response)
                refreshPage()
            })            
        }                
    })
});<commit_msg>Changed wording of new_contact<commit_after>$(document).ready(function(){

    $("form").validationEngine()
    
    $("#save").click(function(){
        var validation_result = $("form").validationEngine('validate')
        if (validation_result == true){
            var name = $("#newcontact input[name=name]").val()
            var email = $("#newcontact input[name=email]").val()
            var notes = $("#newcontact textarea[name=notes]").val()

            var phone_1 = $("input[name=phone_1]").val()
            var phone_2 = $("input[name=phone_2]").val()
            var phone_3 = $("input[name=phone_3]").val()
            var phone = phone_1 + phone_2 + phone_3

            var street = $("input[name=street]").val()
            var city = $("input[name=city]").val()
            var state = $("input[name=state]").val()
            var zipcode = $("input[name=zip]").val()

            address = {'street':street, 'city':city, 'state':state, 'zipcode':zipcode}

            //Flash message
            show_flash("setting", "Creating contact...", false)
            
            var params = {'name':name, 'email':email, 'phone':phone, 'address':address, 'notes':notes}
            var request = ghiapi.new.contact(params)

            request.execute(function(response){
                rpcSuccessMessage(response)
                refreshPage()
            })            
        }                
    })
});
{'fraction_non_alphanumeric': 0.17437345570067067, 'fraction_numerical': 0.0063536886692552065, 'mean_word_length': 2.1349557522123894, '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': '3346148', 'n_tokens_mistral': 802, 'n_tokens_neox': 773, 'n_words': 145}