2010-08-17 09:42:13 +02:00
|
|
|
// DATA_TEMPLATE: empty_table
|
|
|
|
oTest.fnStart( "sAjaxSource" );
|
|
|
|
|
|
|
|
/* Sanitfy check really - all the other tests blast this */
|
|
|
|
|
|
|
|
$(document).ready( function () {
|
|
|
|
/* Check the default */
|
|
|
|
var oTable = $('#example').dataTable( {
|
|
|
|
"bServerSide": true,
|
2011-04-19 20:35:33 +02:00
|
|
|
"sAjaxSource": "../../../examples/server_side/scripts/server_processing.php"
|
2010-08-17 09:42:13 +02:00
|
|
|
} );
|
|
|
|
var oSettings = oTable.fnSettings();
|
|
|
|
|
|
|
|
oTest.fnWaitTest(
|
|
|
|
"Server side is off by default",
|
|
|
|
null,
|
|
|
|
function () {
|
2011-04-19 20:35:33 +02:00
|
|
|
return oSettings.sAjaxSource == "../../../examples/server_side/scripts/server_processing.php";
|
2010-08-17 09:42:13 +02:00
|
|
|
}
|
|
|
|
);
|
|
|
|
|
|
|
|
oTest.fnComplete();
|
|
|
|
} );
|