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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/list.tt (-7 / +4 lines)
Lines 219-235 Link Here
219
                patron_input_name: 'patrons_to_add'
219
                patron_input_name: 'patrons_to_add'
220
            });
220
            });
221
221
222
            var checkBoxes = $("input[type='checkbox']","#patron-list-table");
222
            $("body").on("click", "#CheckAll", function(e){
223
224
            $("#CheckAll").click(function(e){
225
                e.preventDefault();
223
                e.preventDefault();
226
                checkBoxes.each(function(){
224
                $("input[type='checkbox']","#patron-list-table").each(function(){
227
                    $(this).prop("checked",1);
225
                    $(this).prop("checked",1);
228
                });
226
                });
229
            });
227
            });
230
            $("#CheckNone").click(function(e){
228
            $("body").on("click", "#CheckNone", function(e){
231
                e.preventDefault();
229
                e.preventDefault();
232
                checkBoxes.each(function(){
230
                $("input[type='checkbox']","#patron-list-table").each(function(){
233
                    $(this).prop("checked",0);
231
                    $(this).prop("checked",0);
234
                });
232
                });
235
            });
233
            });
236
- 

Return to bug 18747