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

    $('div.feedElement').hover(function () {
        $(this).find('div.feedDelete img').show();
    }, function () {
        $(this).find('div.feedDelete img').hide();
    });
    $('img.feedDeleteLink').click(function () {
        var html='';
        html+=$(this).parents('div.feedElement').find('.feedInfo').html();
        html+='<br/>';
        html+='<br/>';
        html+='<br/>';
        html+='<input style="margin-left:140px;" class="globalButton deleteFeedYes" element="'+$(this).attr('element')+'" type="button" value="'+json.global.Yes+'"/>';
        html+='<input style="margin-left:50px;" class="globalButton deleteFeedNo" type="button" value="'+json.global.No+'"/>';

        midas.showDialogWithContent(json.feed.deleteFeed+'?', html, false);

        $('input.deleteFeedYes').unbind('click').click(function () {
            var elementId = $(this).attr('element');
            $.post(json.global.webroot+'/feed/deleteajax', {
                feed: $(this).attr('element')},
                function (data) {});
            $('div.feedElement[element='+elementId+']').remove();
            $("div.MainDialog").dialog('close');
        });
        $('input.deleteFeedNo').unbind('click').click(function () {
             $( "div.MainDialog" ).dialog('close');
        });
    });
});<commit_msg>STYLE: refs #547. Text fix in feed delete dialog<commit_after>$(document).ready(function() {

    $('div.feedElement').hover(function () {
        $(this).find('div.feedDelete img').show();
    }, function () {
        $(this).find('div.feedDelete img').hide();
    });
    $('img.feedDeleteLink').click(function () {
        var html='';
        html+=$(this).parents('div.feedElement').find('.feedInfo').html();
        html+='<br/>';
        html+='<br/>';
        html+='<br/>';
        html+='<input style="margin-left:140px;" class="globalButton deleteFeedYes" element="'+$(this).attr('element')+'" type="button" value="'+json.global.Yes+'"/>';
        html+='<input style="margin-left:50px;" class="globalButton deleteFeedNo" type="button" value="'+json.global.No+'"/>';

        midas.showDialogWithContent(json.feed.deleteFeed, html, false);

        $('input.deleteFeedYes').unbind('click').click(function () {
            var elementId = $(this).attr('element');
            $.post(json.global.webroot+'/feed/deleteajax', {
                feed: $(this).attr('element')},
                function (data) {});
            $('div.feedElement[element='+elementId+']').remove();
            $("div.MainDialog").dialog('close');
        });
        $('input.deleteFeedNo').unbind('click').click(function () {
             $( "div.MainDialog" ).dialog('close');
        });
    });
});
{'fraction_non_alphanumeric': 0.23608584939978175, 'fraction_numerical': 0.004728992360858494, 'mean_word_length': 2.962536023054755, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, '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': '5882937', 'n_tokens_mistral': 831, 'n_tokens_neox': 815, 'n_words': 96}