|
Lines 118-132
function hideAllColumns() {
Link Here
|
| 118 |
|
118 |
|
| 119 |
$(document).ready(function () { |
119 |
$(document).ready(function () { |
| 120 |
hideColumns(); |
120 |
hideColumns(); |
| 121 |
$("#itemst").dataTable($.extend(true, {}, dataTablesDefaults, { |
121 |
var items_table = KohaTable("itemst", { |
| 122 |
"sDom": 't', |
|
|
| 123 |
"aoColumnDefs": [ |
122 |
"aoColumnDefs": [ |
| 124 |
{ "aTargets": [0, 1], "bSortable": false, "bSearchable": false }, |
123 |
{ "aTargets": [0, 1], "bSortable": false, "bSearchable": true }, |
| 125 |
{ "aTargets": [0], "bVisible": false }, |
124 |
{ "aTargets": [0], "bVisible": false }, |
| 126 |
{ "sType": "anti-the", "aTargets": ["anti-the"] } |
125 |
{ "sType": "anti-the", "aTargets": ["anti-the"] } |
| 127 |
], |
126 |
], |
| 128 |
"bPaginate": false, |
127 |
"bPaginate": false, |
| 129 |
})); |
128 |
}); |
| 130 |
$("#selectallbutton").click(function (e) { |
129 |
$("#selectallbutton").click(function (e) { |
| 131 |
e.preventDefault(); |
130 |
e.preventDefault(); |
| 132 |
$("#itemst input:checkbox").each(function () { |
131 |
$("#itemst input:checkbox").each(function () { |
| 133 |
- |
|
|