Koha-clms/koha-tmpl
Owen Leonard fdf3b4e799
Bug 39957: Fix JS error on credit and debit types administration pages
This patch fixes an JS error in several administration pages, introduced
by Bug 39099 and 39810. We can't access a DOM node without checking for
its existence first.

To test, apply the patch and go to Administration.

- Check the following pages:
  - Authorized values
  - Credit types
  - Debit types
  - Item types
  - Patron categories.
- On each page check the JavaScript console on the initial page. There
  should be no errors.
- Check the add/edit page for each and confirm that the library
  limitation Select2 widget works correctly.

Sponsored-by: Athens County Public Libraries
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
2025-05-22 15:21:44 +02:00
..
intranet-tmpl Bug 39957: Fix JS error on credit and debit types administration pages 2025-05-22 15:21:44 +02:00
opac-tmpl Bug 30301: Update templates 2025-05-19 18:54:30 +02:00