]> git.koha-community.org Git - koha.git/commit
Bug 36490: Correct tab-switching keyboard shortcut for header search forms
authorOwen Leonard <oleonard@myacpl.org>
Tue, 2 Apr 2024 12:41:42 +0000 (12:41 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Thu, 18 Apr 2024 14:51:15 +0000 (16:51 +0200)
commit1e9bdfb56c5c871a6d29ebc0a0e6d70267a209fe
tree0b13e85aee255d7458210d230d11767cef66b732
parent154a2ea9ad5b6e911a504b8798f5ffe6df1c2297
Bug 36490: Correct tab-switching keyboard shortcut for header search forms

This patch updates staff-global.js so that we correctly define the
keyboard shortcuts for search header tabs following the switch to using
the WRAPPER for tabs in Bug 35850.

To test, apply the patch clear your browser cache if necessary.

- Go to the staff interface.
- Test each keyboard shortcut to confirm that the header search tabs
  activate correctly:
  - Check in: Alt-r
  - Renew: Alt-w
  - Search: Alt-q
  - Check out: Alt-u
- Test that the keyboard shortcut takes you to the correct page if the
  header search form doesn't exist on the page, e.g. the Authorities
  home page.

Signed-off-by: Andrew Fuerste Henry <andrewfh@dubcolib.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
koha-tmpl/intranet-tmpl/prog/js/staff-global.js