Koha/koha-tmpl/intranet-tmpl/prog
Owen Leonard 24cb4f71f4 Bug 29155: (follow-up) Work around change to jQueryUI tab API
For some reason, with the combination of jQuery 3.6.0 and jQueryUI
1.13.1, the way to access the current active tab's link has changed.
Previously the tab activate event would provide information about the
link as "ui.newTab.context." It appears that "context" is no longer
available.

This patch updates the two instances in Koha where this process is
broken.

To test, apply the patch and check out to a patron with holds on their
account.

- When the checkout page loads, confirm that each tab loads its contents
  correctly when clicked.
- Check that the correct tab is activated when you append the tab link
  to the page url, e.g.

  /cgi-bin/koha/circ/circulation.pl?borrowernumber=XXX#reldebarments

  ...which should select the "Restrictions" tab for you. You may need to
  try this in a new tab or shift-reload to get the browser to look for
  the hash.

- Perform the same tests on the patron details page.

Signed-off-by: David Cook <dcook@prosentient.com.au>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-04-25 10:00:22 -10:00
..
css Bug 28786: (follow-up) Improve style of 2FA code input 2022-04-20 20:43:15 -10:00
en Bug 29155: (follow-up) Work around change to jQueryUI tab API 2022-04-25 10:00:22 -10:00
img Bug 28993: Switch magnifying glass in staff detail pages to FA icon 2022-02-09 22:01:37 -10:00
js Bug 29155: (follow-up) Work around change to jQueryUI tab API 2022-04-25 10:00:22 -10:00
pdf
sound