diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt index ff812fe5c1..4a55634e93 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt @@ -1112,7 +1112,9 @@ [% END %] } }); - toggle_onsite_checkout(); + [% IF Koha.Preference('OnSiteCheckoutAutoCheck') && onsite_checkout == "on" %] + toggle_onsite_checkout(); + [% END %] $("#onsite_checkout").click(function(){ toggle_onsite_checkout(); });