https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42790

--- Comment #31 from Paul Derscheid <[email protected]> ---
Created attachment 210111
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=210111&action=edit
Bug 42790: (QA follow-up) Only load booking modals on circulation.pl with
EnableBooking

- circulation.tt included the booking modals and their JS regardless
  of EnableBooking, unlike moremember.tt
- Wrap them in the same preference check

Test plan:
1. Set EnableBooking to 'Disable'
2. Go to /cgi-bin/koha/circ/circulation.pl?borrowernumber=51 and view
   the page source
3. Without this patch extendBookingModal is found; with it, it is not
4. Set EnableBooking to 'Enable', reload: the modals are present and
   the Bookings tab works as before

Assisted-by: Opus 5.5 (Anthropic)
Signed-off-by: Paul Derscheid <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to