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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_record_modification.tt (-6 / +11 lines)
Lines 302-308 Link Here
302
[% MACRO jsinclude BLOCK %]
302
[% MACRO jsinclude BLOCK %]
303
    [% Asset.js("js/tools-menu.js") | $raw %]
303
    [% Asset.js("js/tools-menu.js") | $raw %]
304
    [% INCLUDE 'datatables.inc' %]
304
    [% INCLUDE 'datatables.inc' %]
305
    [% Asset.js("lib/jquery/plugins/jquery.checkboxes.min.js") | $raw %]
306
    [% Asset.js("lib/jquery/plugins/humanmsg.js") | $raw %]
305
    [% Asset.js("lib/jquery/plugins/humanmsg.js") | $raw %]
307
    [% Asset.js("js/background-job-progressbar.js") | $raw %]
306
    [% Asset.js("js/background-job-progressbar.js") | $raw %]
308
    <script>
307
    <script>
Lines 317-330 Link Here
317
                    $("#show_list_option").show();
316
                    $("#show_list_option").show();
318
                }
317
                }
319
            });
318
            });
320
            $("#selectall").click(function(e) {
319
320
            $("#selectall").click(function(e){
321
                e.preventDefault();
321
                e.preventDefault();
322
                $(".records").checkCheckboxes();
322
                $(".records input[type='checkbox']").each(function(){
323
                    $(this).prop("checked", true);
324
                });
323
            });
325
            });
324
            $("#clearall").click(function(e) {
326
327
            $("#clearall").click(function(e){
325
                e.preventDefault();
328
                e.preventDefault();
326
                $(".records").unCheckCheckboxes();
329
                $(".records input[type='checkbox']").each(function(){
330
                    $(this).prop("checked", false);
331
                });
327
            });
332
            });
333
328
            $("#selectall").click();
334
            $("#selectall").click();
329
335
330
            $("table#biblios").dataTable($.extend(true, {}, dataTablesDefaults, {
336
            $("table#biblios").dataTable($.extend(true, {}, dataTablesDefaults, {
331
- 

Return to bug 26202