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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt (-7 / +11 lines)
Lines 544-556 Link Here
544
                });
544
                });
545
                $("span.clearall").html("<a id=\"CheckNone\" href=\"/cgi-bin/koha/shelves.pl\"><i class=\"fa fa-remove\"></i>"+_(" Clear all")+"<\/a>");
545
                $("span.clearall").html("<a id=\"CheckNone\" href=\"/cgi-bin/koha/shelves.pl\"><i class=\"fa fa-remove\"></i>"+_(" Clear all")+"<\/a>");
546
                $("span.checkall").html("<a id=\"CheckAll\" href=\"/cgi-bin/koha/shelves.pl\"><i class=\"fa fa-check\"></i>"+_(" Select all")+"<\/a>");
546
                $("span.checkall").html("<a id=\"CheckAll\" href=\"/cgi-bin/koha/shelves.pl\"><i class=\"fa fa-check\"></i>"+_(" Select all")+"<\/a>");
547
                $("#CheckAll").click(function(){
547
                $("#CheckAll").click(function(e){
548
                    $(".checkboxed").checkCheckboxes();
548
                    e.preventDefault();
549
                    return false;
549
                    $(".selection").each(function(){
550
                        $(this).prop("checked", true);
551
                    });
550
                });
552
                });
551
                $("#CheckNone").click(function(){
553
552
                    $(".checkboxed").unCheckCheckboxes();
554
                $("#CheckNone").click(function(e){
553
                    return false;
555
                    e.preventDefault();
556
                    $(".selection").each(function(){
557
                        $(this).prop("checked", false);
558
                    });
554
                });
559
                });
555
                $(".placehold").on("click",function(e){
560
                $(".placehold").on("click",function(e){
556
                    placeHold();
561
                    placeHold();
557
- 

Return to bug 26204