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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/installer/step3.tt (-1 / +9 lines)
Lines 463-468 Link Here
463
                    $( container ).find("input").prop("checked", state);
463
                    $( container ).find("input").prop("checked", state);
464
                    $( container ).find(".selectall,.deselectall").toggle();
464
                    $( container ).find(".selectall,.deselectall").toggle();
465
                });
465
                });
466
                function update_sample_libraries_holidays(){
467
                    let checked = $("#sample_libraries").prop("checked");
468
                    $("#sample_libraries_holidays").prop("disabled", !checked);
469
                    if (!checked) {
470
                        $("#sample_libraries_holidays").prop("checked", false);
471
                    }
472
                };
473
                $("#sample_libraries").on("change", update_sample_libraries_holidays);
474
                $("#sample_libraries").change();
466
            });
475
            });
467
        </script>
476
        </script>
468
    [% END %]
477
    [% END %]
469
- 

Return to bug 33581