Prettier JQuery tables
[contractdashboard.git] / media / unit_testing / tests_onhold / 1_dom / sAjaxSource.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// DATA_TEMPLATE: dom_data
oTest.fnStart( "sAjaxSource" );
 
/* Not interested in ajax source here other than to check it's default */
 
$(document).ready( function () {
        /* Check the default */
        var oTable = $('#example').dataTable();
        var oSettings = oTable.fnSettings();
        
        oTest.fnTest( 
                "Server side is off by default",
                null,
                function () { return oSettings.sAjaxSource == null; }
        );
        
        oTest.fnComplete();
} );