Koha/koha-tmpl/intranet-tmpl/prog/js
Owen Leonard 3f55688626 Bug 28522: Correct eslint errors in staff-global.js
This patch makes minor corrections to staff-global.js in order to quiet
warnings from ESLint. This includes:

- Remove unused variables
- Declare undeclared variables
- Update list of global and exported variables and functions
- Correct whitespace
- Remove an unused function (paramOfUrl)

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

- Confirm that the first search header form field has focus when
  switching bewteen pages.
- Confirm that text entered in any search header form field persists
  when you switch search header form tabs, e.g. a word typed into the
  "Check out" tab is copied to the "Check in" form when you switch to
  that tab.
- Perform a search from the "Search the catalog" tab in the header. On
  the search results page and any following detail page your search term
  should remain in the header search form.
- From a bibliographic detail page, confirm that selecting a list from
  the "Add to list" button menu correctly triggers a popup window.

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-06-21 12:07:28 +02:00
..
pages Bug 28007: (follow-up) Address missing instances 2021-04-06 15:56:31 +02:00
acq.js
acquisitions-menu.js
additem.js Bug 28135: Replace use of input type number in additem.js 2021-05-11 15:37:42 +02:00
addorderiso2709.js
admin-menu.js
ajax.js
audio_alerts.js
auth-finder-search.js
automatic_item_modification_by_age.js
background-job-progressbar.js
basket.js
basketgroup.js
biblio_framework.js
calendar.js Bug 28538: Insert formatted date if valid 2021-06-14 17:35:19 +02:00
cart.js
cashup_modal.js
catalog.js
cataloging.js
cataloging_additem.js
categories.js
charts.js
checkouts.js Bug 28271: Add (current status) 2021-06-21 10:50:09 +02:00
circ-patron-search-results.js
datatables.js Bug 28096: Fix table settings for API datatables wrapper 2021-04-21 10:51:29 +02:00
desk_selection.js
elasticsearch-mappings.js Bug 26970: Add row highlight on drag in Elasticsearch mapping template 2021-04-07 16:08:04 +02:00
file-upload.js
funds_sorts.js
holds.js Bug 27865: Pass the x-koha-override header to PUT /holds/:hold_id from the patron's page 2021-05-04 15:05:37 +02:00
ill-availability-partner.js
ill-availability.js
ill-list-table.js
item_search_fields.js
letter.js
localcovers.js
mana.js
marc_modification_templates.js
marc_subfields_structure.js
members-menu.js
members.js
merge-record.js
messaging-preference-form.js Bug 13613: Move similar JS code to a function 2021-05-11 15:13:25 +02:00
offlinecirc.js
onboarding.js
register_selection.js
rotating-collections.js
select2.js
serials-toolbar.js
showpredictionpattern.js
sms_providers.js
staff-global.js Bug 28522: Correct eslint errors in staff-global.js 2021-06-21 12:07:28 +02:00
subscription-add.js
table_filters.js
tools-menu.js
viewlog.js
xmlControlfield.js
z3950_search.js