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
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
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
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
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
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
items_search_field.tt
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
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
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
matching-rules.tt Bug 27631: admin folder 2022-04-20 09:03:38 -10:00
oai_set_mappings.tt
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
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
sru_modmapping_auth.tt
systempreferences.tt Bug 27631: admin folder 2022-04-20 09:03:38 -10:00
transfer_limits.tt
transport-cost-matrix.tt
usage_statistics.tt
z3950servers.tt Bug 27631: (follow-up) Various corrections 2022-04-20 09:03:38 -10:00