Free cookie consent management tool by TermsFeed Policy Generator

source: branches/WebApplication/MVC2/HeuristicLabWeb.PluginHost/HLWebPluginHost/Content/jQuery/jQueryPlugins/DataTables-1.7.6/media/unit_testing/tests_onhold/3_ajax/sAjaxSource.js @ 6286

Last change on this file since 6286 was 6286, checked in by dkahn, 13 years ago

#1198 Added jQuery plus plugins

File size: 543 bytes
Line 
1// DATA_TEMPLATE: empty_table
2oTest.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.