Sha256: fab62463dbe28aed4e72fd3d2850e7905754e295f35c3b4c433d43202d7bc9dc

Contents?: true

Size: 405 Bytes

Versions: 28

Compression:

Stored size: 405 Bytes

Contents

// DATA_TEMPLATE: dom_data
oTest.fnStart( "2840 - Restore table width on fnDestroy" );

$(document).ready( function () {
	document.cookie = "";
	$('#example').dataTable( {
		"sScrollX": "100%",
		"sScrollXInner": "110%"
	} );
	$('#example').dataTable().fnDestroy();
	
	oTest.fnTest( 
		"Width after destroy",
		null,
		function () { return $('#example').width() == "800"; }
	);
	
	oTest.fnComplete();
} );

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
classiccms-0.5.13 lib/classiccms/public/admin/datatables/unit_testing/tests_onhold/1_dom/2840-restore-table-width.js
classiccms-0.5.12 lib/classiccms/public/admin/datatables/unit_testing/tests_onhold/1_dom/2840-restore-table-width.js
classiccms-0.5.11 lib/classiccms/public/admin/datatables/unit_testing/tests_onhold/1_dom/2840-restore-table-width.js
classiccms-0.5.10 lib/classiccms/public/admin/datatables/unit_testing/tests_onhold/1_dom/2840-restore-table-width.js
classiccms-0.5.9 lib/classiccms/public/admin/datatables/unit_testing/tests_onhold/1_dom/2840-restore-table-width.js
classiccms-0.5.8 lib/classiccms/public/admin/datatables/unit_testing/tests_onhold/1_dom/2840-restore-table-width.js
classiccms-0.5.7 lib/classiccms/public/admin/datatables/unit_testing/tests_onhold/1_dom/2840-restore-table-width.js
classiccms-0.5.6 lib/classiccms/public/admin/datatables/unit_testing/tests_onhold/1_dom/2840-restore-table-width.js