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/2_js/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: 445 bytes
RevLine 
[6286]1// DATA_TEMPLATE: js_data
2oTest.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} );
Note: See TracBrowser for help on using the repository browser.