Debian Codegraph @

old-tests/tests_onhold/2_js/sAjaxSource.js

raw
1 // DATA_TEMPLATE: js_data
2 oTest.fnStart( "sAjaxSource" );
3
4 /* Not interested in ajax source here other than to check it's default */
5
6 $(document).ready( function () {
7 /* Check the default */
8 var oTable = $('#example').dataTable( {
9 "aaData": gaaData
10 } );
11 var oSettings = oTable.fnSettings();
12
13 oTest.fnTest(
14 "Server side is off by default",
15 null,
16 function () { return oSettings.sAjaxSource == null; }
17 );
18
19 oTest.fnComplete();
20 } );