Koha/koha-tmpl/intranet-tmpl/prog/en/modules/admin
Owen Leonard de4434bd4a Bug 30640: Focus does not always move to correct search header form field
This patch updates the staff interface's global JavaScript to
accommodate changes in the way focus is being handled after the jQuery
upgrade (see: https://github.com/jquery/jquery/issues/4950).

The "focus" class is removed from search header include files so that
there isn't a contradiction between which form field has the focus class
and which form field is displayed in the active tab.

To test, apply the patch and view various pages in the staff interface.

- On pages where focus is not being directed to a form field within the
  main content of the page, the form field in the active search header
  tab should have focus on page load:

  - Patron details
  - System preferences
  - Cities and towns

  Also test pages where a tab other than the first one is preselected:

  - Bibliographic details page
  - Patron lists

  On these pages, focus should move to the active tab's form field when
  you switch tabs.

- On pages where focus is being sent to another form field, it should
  work correctly:

  - Patrons home page
  - Check in
  - Acquisitions home page

Signed-off-by: Séverine Queune <severine.queune@bulac.fr>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-05-18 17:22:08 -10:00
..
preferences Bug 30728: Add RealTimeHoldsQueue syspref 2022-05-12 22:17:45 -10:00
searchengine/elasticsearch Bug 30000: Replace the use of jQueryUI tabs on the search engine configuration page 2022-03-24 14:22:09 -10:00
additional-fields.tt Bug 27631: admin folder 2022-04-20 09:03:38 -10:00
admin-home.tt Bug 30640: Focus does not always move to correct search header form field 2022-05-18 17:22:08 -10:00
adveditorshortcuts.tt Bug 26703: admin folder 2021-04-21 11:16:33 +02:00
aqbudgetperiods.tt Bug 27631: admin folder 2022-04-20 09:03:38 -10:00
aqbudgets.tt Bug 27631: admin folder 2022-04-20 09:03:38 -10:00
aqcontract.tt Bug 27631: admin folder 2022-04-20 09:03:38 -10:00
aqplan.tt Bug 27631: admin folder 2022-04-20 09:03:38 -10:00
audio_alerts.tt Bug 27631: admin folder 2022-04-20 09:03:38 -10:00
auth_subfields_structure.tt Bug 30489: Convert MARC and authority subfield edit tabs to Bootstrap 2022-05-02 11:22:57 -10:00
auth_tag_structure.tt Bug 29052: Make consistent use of spans and div with hint class 2021-10-21 12:24:04 +02:00
authorised_values.tt Bug 29648: Authorised values view 2022-04-27 11:20:43 -10:00
authtypes.tt Bug 27631: admin folder 2022-04-20 09:03:38 -10:00
background_jobs.tt Bug 29346: Add better reporting 2022-05-05 11:17:36 -10:00
biblio_framework.tt Bug 27631: admin folder 2022-04-20 09:03:38 -10:00
branch_transfer_limits.tt Bug 30417: Switch to Bootstrap tabs on the basic library transfer limit page 2022-04-12 11:40:17 +02:00
branches.tt Bug 29648: Libraries administration view - normale 2022-04-27 11:20:44 -10:00
cash_registers.tt Bug 27631: admin folder 2022-04-20 09:03:38 -10:00
categories.tt Bug 29924: Add password expiration feature 2022-05-06 10:33:09 -10:00
checkmarc.tt Bug 26703: admin folder 2021-04-21 11:16:33 +02:00
cities.tt Bug 29648: Cities administration view - REST API 2022-04-27 11:20:44 -10:00
classsources.tt Bug 27631: (follow-up) Various corrections 2022-04-20 09:03:38 -10:00
clone-rules.tt Bug 27631: admin folder 2022-04-20 09:03:38 -10:00
columns_settings.tt Bug 30494: Replace the use of jQueryUI Accordion on the table settings page 2022-05-02 11:22:57 -10:00
credit_types.tt Bug 27631: admin folder 2022-04-20 09:03:38 -10:00
currency.tt Bug 29648: Fix occurrences of GetColumns 2022-04-27 11:20:45 -10:00
debit_types.tt Bug 27631: admin folder 2022-04-20 09:03:38 -10:00
desks.tt Bug 27631: admin folder 2022-04-20 09:03:38 -10:00
didyoumean.tt Bug 27631: admin folder 2022-04-20 09:03:38 -10:00
edi_accounts.tt Bug 27631: admin folder 2022-04-20 09:03:38 -10:00
edi_ean_accounts.tt Bug 27631: (follow-up) Various corrections 2022-04-20 09:03:38 -10:00
item_circulation_alerts.tt Bug 29277: Replace the use of jQueryUI tabs on item circulation alerts page 2022-02-10 14:44:23 -10:00
items_search_field.tt Bug 20689: (follow-up) Make it possible to add capital letter subfields to item search fields 2022-03-01 22:47:46 -10:00
items_search_fields.tt Bug 27631: (follow-up) Various corrections 2022-04-20 09:03:38 -10:00
itemtypes.tt Bug 29648: Item types administration view 2022-04-27 11:20:44 -10:00
koha2marclinks.tt Bug 29529: Fix \n in hint on Koha to MARC mappings 2021-12-01 21:47:18 -10:00
library_groups.tt Bug 27631: admin folder 2022-04-20 09:03:38 -10:00
localization.tt Bug 27631: admin folder 2022-04-20 09:03:38 -10:00
marc-overlay-rules.tt Bug 29602: Surround strings with span tag 2022-04-19 21:25:51 -10:00
marc_subfields_structure.tt Bug 30489: Convert MARC and authority subfield edit tabs to Bootstrap 2022-05-02 11:22:57 -10:00
marctagstructure.tt Bug 29602: Surround strings with span tag 2022-04-19 21:25:51 -10:00
matching-rules.tt Bug 27631: admin folder 2022-04-20 09:03:38 -10:00
oai_set_mappings.tt Bug 26703: admin folder 2021-04-21 11:16:33 +02:00
oai_sets.tt Bug 27631: admin folder 2022-04-20 09:03:38 -10:00
overdrive.tt Bug 27631: admin folder 2022-04-20 09:03:38 -10:00
patron-attr-types.tt Bug 27631: admin folder 2022-04-20 09:03:38 -10:00
preferences.tt Bug 27631: admin folder 2022-04-20 09:03:38 -10:00
share_content.tt Bug 29052: Make consistent use of spans and div with hint class 2021-10-21 12:24:04 +02:00
smart-rules.tt Bug 30346: Correctly transfer values when editing rules 2022-04-20 20:43:15 -10:00
sms_providers.tt Bug 27631: admin folder 2022-04-20 09:03:38 -10:00
smtp_servers.tt Bug 27631: admin folder 2022-04-20 09:03:38 -10:00
sru_modmapping.tt Bug 26703: admin folder 2021-04-21 11:16:33 +02:00
sru_modmapping_auth.tt Bug 26703: admin folder 2021-04-21 11:16:33 +02:00
systempreferences.tt Bug 27631: admin folder 2022-04-20 09:03:38 -10:00
transfer_limits.tt Bug 29513: Convert remaining breadcrumbs div blocks into nav 2021-12-01 21:38:12 -10:00
transport-cost-matrix.tt Bug 26703: admin folder 2021-04-21 11:16:33 +02:00
usage_statistics.tt Bug 29602: Surround strings with span tag 2022-04-19 21:25:51 -10:00
z3950servers.tt Bug 27631: (follow-up) Various corrections 2022-04-20 09:03:38 -10:00