old-tests/tests_onhold/1_dom/sAjaxSource.js
raw| 1 | // DATA_TEMPLATE: dom_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 | var oSettings = oTable.fnSettings(); |
| 10 | |
| 11 | oTest.fnTest( |
| 12 | "Server side is off by default", |
| 13 | null, |
| 14 | function () { return oSettings.sAjaxSource == null; } |
| 15 | ); |
| 16 | |
| 17 | oTest.fnComplete(); |
| 18 | } ); |