/[projects]/misc/horsensspejder-web/jquery/DataTables-1.9.4/media/unit_testing/tests_onhold/1_dom/2840-restore-table-width.js
ViewVC logotype

Contents of /misc/horsensspejder-web/jquery/DataTables-1.9.4/media/unit_testing/tests_onhold/1_dom/2840-restore-table-width.js

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2125 - (show annotations) (download) (as text)
Wed Mar 12 19:30:05 2014 UTC (10 years, 3 months ago) by torben
File MIME type: application/javascript
File size: 405 byte(s)
initial import
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 } );

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.20