View | Details | Raw Unified | Return to bug 26153
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemslost.tt (-4 / +6 lines)
Lines 183-189 Link Here
183
    [% Asset.js("lib/jquery/plugins/jquery.dataTables.columnFilter.js") | $raw %]
183
    [% Asset.js("lib/jquery/plugins/jquery.dataTables.columnFilter.js") | $raw %]
184
    [% INCLUDE 'columns_settings.inc' %]
184
    [% INCLUDE 'columns_settings.inc' %]
185
    [% Asset.js("js/table_filters.js") | $raw %]
185
    [% Asset.js("js/table_filters.js") | $raw %]
186
    [% Asset.js("lib/jquery/plugins/jquery.checkboxes.min.js") | $raw %]
187
    <script>
186
    <script>
188
        $(document).ready(function() {
187
        $(document).ready(function() {
189
            var columns_settings = [% TablesSettings.GetColumns( 'reports', 'lostitems', 'lostitems-table', 'json' ) | $raw %];
188
            var columns_settings = [% TablesSettings.GetColumns( 'reports', 'lostitems', 'lostitems-table', 'json' ) | $raw %];
Lines 233-245 Link Here
233
232
234
            $(".SelectAll").on("click",function(e){
233
            $(".SelectAll").on("click",function(e){
235
                e.preventDefault();
234
                e.preventDefault();
236
                $("#lostitems-table").checkCheckboxes();
235
                $("#lostitems-table input:checkbox").each(function(){
236
                    $(this).prop("checked", true);
237
                });
237
                itemSelectionBuildActionLinks();
238
                itemSelectionBuildActionLinks();
238
            });
239
            });
239
240
240
            $(".ClearAll").on("click",function(e){
241
            $(".ClearAll").on("click",function(e){
241
                e.preventDefault();
242
                e.preventDefault();
242
                $("#lostitems-table").unCheckCheckboxes();
243
                $("#lostitems-table input:checkbox").each(function(){
244
                    $(this).prop("checked", false);
245
                });
243
                itemSelectionBuildActionLinks();
246
                itemSelectionBuildActionLinks();
244
            });
247
            });
245
        });
248
        });
246
- 

Return to bug 26153