Rev | Line | |
---|
[6286] | 1 | // DATA_TEMPLATE: empty_table |
---|
| 2 | oTest.fnStart( "sAjaxSource" ); |
---|
| 3 | |
---|
| 4 | /* Sanitfy check really - all the other tests blast this */ |
---|
| 5 | |
---|
| 6 | $(document).ready( function () { |
---|
| 7 | /* Check the default */ |
---|
| 8 | var oTable = $('#example').dataTable( { |
---|
| 9 | "sAjaxSource": "../../../examples/examples_support/json_source.txt" |
---|
| 10 | } ); |
---|
| 11 | var oSettings = oTable.fnSettings(); |
---|
| 12 | |
---|
| 13 | oTest.fnWaitTest( |
---|
| 14 | "Server side is off by default", |
---|
| 15 | null, |
---|
| 16 | function () { |
---|
| 17 | return oSettings.sAjaxSource == "../../../examples/examples_support/json_source.txt"; |
---|
| 18 | } |
---|
| 19 | ); |
---|
| 20 | |
---|
| 21 | oTest.fnComplete(); |
---|
| 22 | } ); |
---|
Note: See
TracBrowser
for help on using the repository browser.