<commit_before>$(function () {
    $(document).on('click', '.add-list-item', function (event) {
        event.preventDefault();
        var cList  = $(this).siblings('.collection-fields-list');
        var cCount = cList.children().length;
        var widget = cList.attr('data-prototype').replace(/__name__/g, cCount++);

        var data = $('<div/>');
        data.html(widget).appendTo(cList);
        /* temporary solution need add init only for new created row */
        Oro.styleForm(data);
        /* temporary solution finish */
    });

    $(document).on('click', '.removeRow', function (event) {
        event.preventDefault();
        $(this).parents('*[data-content]').remove();
    });
});<commit_msg>CRM-217: Broken styles in contact addresses form<commit_after>$(function () {
    $(document).on('click', '.add-list-item', function (event) {
        event.preventDefault();
        var cList  = $(this).siblings('.collection-fields-list');
        var cCount = cList.children().length;
        var widget = cList.attr('data-prototype').replace(/__name__/g, cCount++);

        var data = $('<div/>').html(widget);
        data.children().appendTo(cList);
        /* temporary solution need add init only for new created row */
        Oro.styleForm(data);
        /* temporary solution finish */
    });

    $(document).on('click', '.removeRow', function (event) {
        event.preventDefault();
        $(this).parents('*[data-content]').remove();
    });
});
{'fraction_non_alphanumeric': 0.1885135135135135, 'fraction_numerical': 0.002027027027027027, 'mean_word_length': 2.78772378516624, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '4903117', 'n_tokens_mistral': 422, 'n_tokens_neox': 419, 'n_words': 86}