<commit_before>﻿$p.uploadSiteImage = function ($control) {
    var data = new FormData();
    data.append('SiteImage', $('[id=\'SiteSettings,SiteImage\']').prop('files')[0]);
    $p.upload(
        $('.main-form').attr('action').replace('_action_', $control.attr('data-action')),
        $control.attr('data-method'),
        data);
}

$p.openSiteSettingsDialog = function ($control, selector, appendTo) {
    var error = $p.syncSend($control);
    if (error === 0) {
        $(selector).dialog({
            modal: true,
            width: '90%',
            height: 'auto',
            appendTo: appendTo !== undefined
                ? appendTo
                : '.main-form'
        });
    }
}

$p.openGridColumnPropertiesDialog = function ($control) {
    $p.openSiteSettingsDialog($control, '#GridColumnPropertiesDialog')
}

$p.setGridColumnProperties = function ($control) {
    $p.setData($('[id="GridColumnProperty,UseGridDesign"]'));
    $p.setData($('[id="GridColumnProperty,GridDesign"]'));
    $p.send($control);
    $p.closeDialog($control);
}

$p.openEditorColumnPropertiesDialog = function ($control) {
    $p.openSiteSettingsDialog($control, '#EditorColumnPropertiesDialog')
}

$p.openNotificationDialog = function ($control) {
    $p.openSiteSettingsDialog($control, '#NotificationDialog', 'body')
}

$p.setAggregationDetails = function ($control) {
    var data = $p.getData($control);
    data.AggregationType = $('#AggregationType').val();
    data.AggregationTarget = $('#AggregationTarget').val();
    $('.ui-dialog-content').dialog('close');
    $p.send($control);
}

$p.addSummary = function ($control) {
    $p.setData($('#SummarySiteId'));
    $p.setData($('#SummaryDestinationColumn'));
    $p.setData($('#SummaryLinkColumn'));
    $p.setData($('#SummaryType'));<commit_msg>Bug fixed: 行末のセミコロンが抜けている問題を修正。<commit_after>﻿$p.uploadSiteImage = function ($control) {
    var data = new FormData();
    data.append('SiteImage', $('[id=\'SiteSettings,SiteImage\']').prop('files')[0]);
    $p.upload(
        $('.main-form').attr('action').replace('_action_', $control.attr('data-action')),
        $control.attr('data-method'),
        data);
}

$p.openSiteSettingsDialog = function ($control, selector, appendTo) {
    var error = $p.syncSend($control);
    if (error === 0) {
        $(selector).dialog({
            modal: true,
            width: '90%',
            height: 'auto',
            appendTo: appendTo !== undefined
                ? appendTo
                : '.main-form'
        });
    }
}

$p.openGridColumnPropertiesDialog = function ($control) {
    $p.openSiteSettingsDialog($control, '#GridColumnPropertiesDialog');
}

$p.setGridColumnProperties = function ($control) {
    $p.setData($('[id="GridColumnProperty,UseGridDesign"]'));
    $p.setData($('[id="GridColumnProperty,GridDesign"]'));
    $p.send($control);
    $p.closeDialog($control);
}

$p.openEditorColumnPropertiesDialog = function ($control) {
    $p.openSiteSettingsDialog($control, '#EditorColumnPropertiesDialog');
}

$p.openNotificationDialog = function ($control) {
    $p.openSiteSettingsDialog($control, '#NotificationDialog', 'body');
}

$p.setAggregationDetails = function ($control) {
    var data = $p.getData($control);
    data.AggregationType = $('#AggregationType').val();
    data.AggregationTarget = $('#AggregationTarget').val();
    $('.ui-dialog-content').dialog('close');
    $p.send($control);
}

$p.addSummary = function ($control) {
    $p.setData($('#SummarySiteId'));
    $p.setData($('#SummaryDestinationColumn'));
    $p.setData($('#SummaryLinkColumn'));
    $p.setData($('#SummaryType'));
{'fraction_non_alphanumeric': 0.19547835676867936, 'fraction_numerical': 0.0022056796250344637, 'mean_word_length': 3.8308921438082555, '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': '5095310', 'n_tokens_mistral': 1119, 'n_tokens_neox': 1111, 'n_words': 159}