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 |
// Highlight in yellow item rows that cannot be deleted |
129 |
// Highlight in yellow item rows that cannot be deleted |
131 |
$(".error").parents('tr').find('td').css('background-color', '#ffff99'); |
130 |
$(".error").parents('tr').find('td').css('background-color', '#ffff99'); |
132 |
|
131 |
|
133 |
- |
|
|