ajax.data -- Restore for next time around

ajax.data -- Restore for next time around

robinwenrobinwen Posts: 1Questions: 1Answers: 0
edited June 9 in Free community support

datatables v2.0.8 , in line 4115

should following codes move outside the 'if' block, in case 'ajax.url==='' block will not restore ajax.data.

    if ( typeof ajax === 'function' )
    {

    }
    else if (ajax.url === '') {

    }
    else {
        // Object to extend the base settings
        oSettings.jqXHR = $.ajax( baseAjax );
    }

    // Restore for next time around
    if (ajaxData) {
        ajax.data = ajaxData;
    }

Answers

Sign In or Register to comment.