[11017] | 1 | $(document).ready(function(){ |
---|
| 2 | |
---|
[11038] | 3 | $('.dataTable').dataTable( { |
---|
| 4 | "iDisplayLength": 1000, |
---|
| 5 | "iDisplayEnd": 1000, |
---|
| 6 | "aLengthMenu": [ 50, 100, 1000, 5000 ], |
---|
| 7 | } ); |
---|
| 8 | |
---|
[11017] | 9 | $('.dataTableFiles').dataTable( { |
---|
[11038] | 10 | "aaSorting": [[ 2, "desc" ]], |
---|
| 11 | "iDisplayLength": 1000, |
---|
| 12 | "iDisplayEnd": 1000, |
---|
| 13 | "aLengthMenu": [ 50, 100, 1000, 5000 ], |
---|
[11017] | 14 | } ); |
---|
| 15 | |
---|
| 16 | $('.dataTableManage').dataTable( { |
---|
[11038] | 17 | "aaSorting": [[ 1, "asc" ]], |
---|
| 18 | "aoColumnDefs":[{ "bSortable": false, "aTargets": [ 0 ] }], |
---|
| 19 | "iDisplayLength": 1000, |
---|
| 20 | "iDisplayEnd": 1000, |
---|
| 21 | "aLengthMenu": [ 50, 100, 1000, 5000 ], |
---|
[11017] | 22 | } ); |
---|
| 23 | |
---|
| 24 | $('.dataTableManageFiles').dataTable( { |
---|
[11038] | 25 | "aaSorting": [[ 3, "desc" ]], |
---|
| 26 | "aoColumnDefs":[{ "bSortable": false, "aTargets": [ 0 ] }], |
---|
| 27 | "iDisplayLength": 1000, |
---|
| 28 | "iDisplayEnd": 1000, |
---|
| 29 | "aLengthMenu": [ 50, 100, 1000, 5000 ], |
---|
[11017] | 30 | } ); |
---|
| 31 | |
---|
| 32 | //* activate current tab, if any... */ |
---|
| 33 | $('a[href="' + window.location.hash + '"]').trigger('click'); |
---|
| 34 | }); |
---|