<commit_before>/**
 * Created by Mohammad on 12/25/2015.
 */



$(document).ready(function(){
    //$('form.login-form button.submit-button').on('click',submit);


    //statement
    $('button.show-statement').on('click',function(){
        askForStatement();
    });

    //personalInfo
    $('button.show-personalInfo').on('click',function(){
        askForPersonalInfo();
    });

    //showSalaries
    $('button.show-salaries').on('click',function(){
        askForSalaries();
    });

    //logout
    $('button.logout').on('click',logout);
});

function logout(){
    var d={
        task:'logout'
    };
    mainAjax(d,function(){
        window.location.href="/index.php";
    });
}

$('div.ceo-pId-main').ready(function(){
    askForPersonalInfo();
});

$('div.salary-main').ready(askForSalaries);



function askForEmployeeList(){
    console.log('asking for the employee list under the command of the porson');
    //TODO
    //var d={
    //    task:'statement',
    //    personalId:'10101002'
    //};
    //mainAjax(d,showStatement);
}

function askForOfficeList(){
    console.log('asking for the list of all offices');

    //TODO<commit_msg>[Update] logout link<commit_after>/**
 * Created by Mohammad on 12/25/2015.
 */



$(document).ready(function(){
    //logout
    $('a.logout-link').on('click',logout);

    //export
    $('')
});

function logout(){
    var d={
        task:'logout'
    };
    mainAjax(d,function(){
        window.location.href="index.php";
    });
}



$('div.ceo-pId-main').ready(function(){
    askForPersonalInfo();
});

$('div.salary-main').ready(askForSalaries);



function askForEmployeeList(){
    console.log('asking for the employee list under the command of the porson');
    //TODO
    //var d={
    //    task:'statement',
    //    personalId:'10101002'
    //};
    //mainAjax(d,showStatement);
}

function askForOfficeList(){
    console.log('asking for the list of all offices');

    //TODO
{'fraction_non_alphanumeric': 0.19529652351738241, 'fraction_numerical': 0.016359918200409, 'mean_word_length': 2.8297455968688845, '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': '7263335', 'n_tokens_mistral': 690, 'n_tokens_neox': 639, 'n_words': 109}