Add datatables-1.9.4 and jquery-1.10.2 libraries
[proteocache.git] / webapp / resources / datatables-1.9.4 / media / unit_testing / tests_onhold / 1_dom / 2840-restore-table-width.js
1 // DATA_TEMPLATE: dom_data
2 oTest.fnStart( "2840 - Restore table width on fnDestroy" );
3
4 $(document).ready( function () {
5         document.cookie = "";
6         $('#example').dataTable( {
7                 "sScrollX": "100%",
8                 "sScrollXInner": "110%"
9         } );
10         $('#example').dataTable().fnDestroy();
11         
12         oTest.fnTest( 
13                 "Width after destroy",
14                 null,
15                 function () { return $('#example').width() == "800"; }
16         );
17         
18         oTest.fnComplete();
19 } );