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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt (-1 lines)
Lines 322-328 Link Here
322
    [% INCLUDE js_includes.inc %]
322
    [% INCLUDE js_includes.inc %]
323
    [% INCLUDE 'datatables.inc' %]
323
    [% INCLUDE 'datatables.inc' %]
324
    [% Asset.js("js/cart.js") | $raw %]
324
    [% Asset.js("js/cart.js") | $raw %]
325
    [% Asset.js("lib/jquery/plugins/jquery.checkboxes.min.js") | $raw %]
326
325
327
    </body>
326
    </body>
328
</html>
327
</html>
(-)a/koha-tmpl/intranet-tmpl/prog/js/cart.js (-17 / +13 lines)
Lines 66-89 function batchModify(){ Link Here
66
66
67
$(document).ready(function(){
67
$(document).ready(function(){
68
    $("#items-popover").popover();
68
    $("#items-popover").popover();
69
    $("#CheckAll").click(function(){
69
70
    var checked = [];
70
    $("#CheckAll").click(function (e) {
71
    $("#bookbag_form").checkCheckboxes("*", true).each(
71
        e.preventDefault();
72
        function() {
72
        $(".select_record").each(function () {
73
            $(this).change();
73
            $(this).prop("checked", true).change();
74
        }
74
        });
75
    );
76
        return false;
77
    });
75
    });
78
    $("#CheckNone").click(function(){
76
79
    var checked = [];
77
    $("#CheckNone").click(function (e) {
80
    $("#bookbag_form").unCheckCheckboxes("*",true).each(
78
        e.preventDefault();
81
        function() {
79
        $(".select_record").each(function () {
82
            $(this).change();
80
            $(this).prop("checked", false).change();
83
        }
81
        });
84
    );
85
        return false;
86
    });
82
    });
83
87
    $(".holdsep").text("| ");
84
    $(".holdsep").text("| ");
88
    $(".hold").text(_("Place hold"));
85
    $(".hold").text(_("Place hold"));
89
    $("#downloadcartc").empty();
86
    $("#downloadcartc").empty();
90
- 

Return to bug 26010