Lines 11-28
Link Here
|
11 |
//<![CDATA[ |
11 |
//<![CDATA[ |
12 |
$(document).ready(function() { |
12 |
$(document).ready(function() { |
13 |
var osrlt = $("#osrlt").dataTable($.extend(true, {}, dataTablesDefaults, { |
13 |
var osrlt = $("#osrlt").dataTable($.extend(true, {}, dataTablesDefaults, { |
14 |
[% IF ( routing && CAN_user_serials_routing ) %] |
|
|
15 |
"aoColumnDefs": [ |
14 |
"aoColumnDefs": [ |
|
|
15 |
[% IF ( routing && CAN_user_serials_routing ) %] |
16 |
{ "aTargets": [ -1, -2, -3 ], "bSortable": false, "bSearchable": false }, |
16 |
{ "aTargets": [ -1, -2, -3 ], "bSortable": false, "bSearchable": false }, |
17 |
], |
|
|
18 |
[% ELSE %] |
17 |
[% ELSE %] |
19 |
"aoColumnDefs": [ |
|
|
20 |
{ "aTargets": [ -1, -2 ], "bSortable": false, "bSearchable": false }, |
18 |
{ "aTargets": [ -1, -2 ], "bSortable": false, "bSearchable": false }, |
21 |
], |
|
|
22 |
[% END %] |
19 |
[% END %] |
23 |
"aoColumns": [ |
20 |
{ "sType": "anti-the", "aTargets" : [ "anti-the" ] }, |
24 |
null,{ "sType": "anti-the" },null,null,null,null,{ "sType": "title-string" } |
21 |
{ "sType": "title-string", "aTargets" : [ "title-string" ] } |
25 |
[% IF ( routing && CAN_user_serials_routing ) %],null[% END %],null,null |
|
|
26 |
], |
22 |
], |
27 |
"sPaginationType": "four_button" |
23 |
"sPaginationType": "four_button" |
28 |
} ) ); |
24 |
} ) ); |
29 |
- |
|
|