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

(-)a/koha-tmpl/intranet-tmpl/prog/en/js/pages/circulation.js (-1 / +9 lines)
Lines 49-54 $(document).ready(function() { Link Here
49
    var checkout_settings = $(".checkout-settings");
49
    var checkout_settings = $(".checkout-settings");
50
    var checkout_settings_icon = $(".checkout-settings-icon");
50
    var checkout_settings_icon = $(".checkout-settings-icon");
51
51
52
    // If any checkboxes in the checkout settings are selected, show the settings by default
53
    if ( $(".checkout-settings input:checked").length ) {
54
        checkout_settings.show();
55
        checkout_settings_icon.removeClass("fa-caret-right").addClass("fa-caret-down");
56
    } else {
57
        checkout_settings.hide();
58
        checkout_settings_icon.removeClass("fa-caret-down").addClass("fa-caret-right");
59
    }
60
52
    $("#show-checkout-settings a").on("click",function(){
61
    $("#show-checkout-settings a").on("click",function(){
53
        if( checkout_settings.is(":hidden")){
62
        if( checkout_settings.is(":hidden")){
54
            checkout_settings.show();
63
            checkout_settings.show();
55
- 

Return to bug 11565