Koha/koha-tmpl/intranet-tmpl/prog/js
Owen Leonard ae62da0ff6 Bug 27754: Correct eslint errors in basket.js
This patch makes minor changes to basket.js in the staff interface
templates in order to quiet warnings from ESLint. Besides whitespace,
most changes are to correct undeclared or unnecessarily declared
variables.

To test, apply the patch and verify that the cart still works
correctly.

 - Perform a catalog search in the staff interface.
 - Test adding single or multiple items to the cart from the search
   results page.
 - Testing adding and removing titles to the cart from the bibliographic
   detail page.
 - Open the cart and test the various controls in the toolbar to confirm
   that they still work correctly.

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

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-03-01 11:28:03 +01:00
..
pages Bug 27321: Make disabled DB columns clearly disabled visually 2021-02-01 16:36:38 +01:00
acq.js Bug 26217: Move translatable strings out of templates into acq.js 2020-09-29 14:28:18 +02:00
acquisitions-menu.js Bug 24347: Add a 'search to order' option similar to 'search to hold' 2020-01-30 10:58:03 +00:00
additem.js Bug 25353: Correct eslint errors in additems.js 2020-10-26 00:14:42 +01:00
addorderiso2709.js Bug 26339: Move translatable strings out of addorderiso2709.tt into addorderiso2709.js 2020-09-29 14:28:18 +02:00
admin-menu.js Bug 20931: JS error "ReferenceError: $ is not defined" when CircSidebar is turned on 2018-07-02 11:10:00 +00:00
ajax.js Bug 26237: Move translatable strings out of preferences.tt and into JavaScript files 2020-09-29 14:28:18 +02:00
audio_alerts.js Bug 26225: Move translatable strings out of audio_alerts.tt and into audio_alerts.js 2020-09-29 14:28:18 +02:00
auth-finder-search.js Bug 20273: (follow-up) Autocomplete use start instead of contains 2018-07-19 17:25:16 +00:00
automatic_item_modification_by_age.js Bug 18752 - Automatic item modifications by age should allow 'blank' values 2017-06-13 16:21:37 -03:00
background-job-progressbar.js Bug 18707: Background jobs post disabled inputs 2019-07-15 11:27:59 +01:00
basket.js Bug 27754: Correct eslint errors in basket.js 2021-03-01 11:28:03 +01:00
basketgroup.js Bug 18432 : Follow up - Updating to use they/them 2017-04-21 10:56:43 -04:00
biblio_framework.js Bug 26225: Move translatable strings out of biblio_framework.tt and into biblio_framework.js 2020-09-29 14:28:18 +02:00
calendar.js Bug 26261: Split calendar.inc into include file and JavaScript file 2020-09-29 14:28:19 +02:00
cart.js Bug 26439: (QA follow-up) Correct MSG instances in cart.js 2020-11-04 12:59:34 +01:00
cashup_modal.js Bug 26274: Update register.tt to use the API 2021-02-12 12:33:41 +01:00
catalog.js Bug 26707: Split cart and lists button on bibliographic detail pages 2021-01-04 16:31:29 +01:00
cataloging.js Bug 27508: do nothing if tag label elements don't exist 2021-01-27 10:45:54 +01:00
cataloging_additem.js Bug 25727: Do not open options on clear 2020-08-24 11:19:03 +02:00
categories.js Bug 26229: Move translatable strings out of categories.tt and into categories.js 2020-09-29 14:28:18 +02:00
charts.js Bug 17282: Ability to create charts for SQL reports 2018-10-01 13:56:35 +00:00
checkouts.js Bug 26208: Perform batch checkin/renewals serially rather than asynchronously 2021-02-23 13:07:45 +01:00
circ-patron-search-results.js Bug 22330: (QA follow-up) Enable datatable in patron search 2019-03-21 16:22:56 +00:00
datatables.js Bug 23767: Total children only if parents not visible 2021-02-12 12:14:50 +01:00
desk_selection.js Bug 24201: (follow-up) add desk choice with library choice 2020-08-07 16:54:40 +02:00
elasticsearch-mappings.js Bug 26958: Move Elasticsearch mapping template JS to the footer 2021-02-12 12:30:58 +01:00
file-upload.js
funds_sorts.js Bug 15184: Prepare the ground - Move funds and sort fields autoupdate 2018-11-08 15:52:56 +00:00
holds.js Bug 27016: Make the pickup locations dropdowns use Select2 2021-01-04 16:33:15 +01:00
ill-availability-partner.js Bug 23173: (follow-up) Display available partners 2020-04-06 11:04:59 +01:00
ill-availability.js Bug 23173: Provide core infrastructure 2020-04-06 11:04:19 +01:00
ill-list-table.js Bug 25614: Move ILL request keyword filter to sidebar 2021-01-27 10:45:54 +01:00
item_search_fields.js Bug 26230: Move translatable strings out of item_search_fields.tt and into item_search_fields.js 2020-09-29 14:28:18 +02:00
letter.js Bug 26602: (QA follow-up) Cleanup datatables settings 2021-02-08 14:56:00 +01:00
localcovers.js Bug 25031: (QA follow-up) Improve handling of one or fewer images 2020-07-24 14:09:30 +02:00
mana.js Bug 22249: Mana - Move comment process in a dedicated sub 2019-07-26 16:08:08 +01:00
marc_modification_templates.js Bug 26065: Move translatable strings out of marc_modification_templates.tt and into marc_modification_templates.js 2020-08-18 15:45:49 +02:00
marc_subfields_structure.js Bug 25826: Forbid changing the hidden attributes for biblionumber 2020-08-07 09:55:50 +02:00
members-menu.js Bug 26334: Move translatable strings out of members-menu.inc into members-menu.js 2020-09-29 14:28:18 +02:00
members.js Bug 27430: Change password minimum value hint when patron category is changed 2021-02-01 16:36:38 +01:00
merge-record.js Bug 25320: Move translatable strings out of merge-record-strings.inc into merge-record.js 2020-09-29 14:28:19 +02:00
messaging-preference-form.js Bug 22744: Changes for opac and remove JS 2019-09-23 11:57:46 +01:00
offlinecirc.js Bug 24545: (follow-up) Fix license statements 2020-02-24 13:31:27 +00:00
onboarding.js Bug 19514: Add client-side check 2017-12-14 16:58:13 -03:00
register_selection.js Bug 24786: Allow selection of cash register at login 2020-11-06 15:39:59 +01:00
rotating-collections.js Bug 23013: Upgrade DataTables in the staff client 2019-08-22 15:23:19 +01:00
select2.js Bug 27124: JS error "select2Width is not defined" 2020-12-21 10:07:40 +01:00
serials-toolbar.js Bug 26256: Move translatable strings out of templates and into serials-toolbar.js 2020-09-29 14:28:18 +02:00
showpredictionpattern.js Bug 19778: Move template JavaScript to the footer: Serials, part 4 2017-12-14 16:58:13 -03:00
sms_providers.js Bug 26240: Move translatable strings out of sms_providers.tt and into sms_providers.js 2020-09-29 14:28:18 +02:00
staff-global.js Bug 23475: Unset the storage if the values do not exist 2020-11-30 11:14:58 +01:00
subscription-add.js Bug 23888: (follow-up) Wrap English string in translation function 2020-03-27 12:14:21 +00:00
table_filters.js Bug 24662: Remove global variables MSG_* from datatables.inc 2020-03-11 13:49:15 +00:00
tools-menu.js Bug 11897: (QA follow-up) Update of tools-menu.js 2018-10-09 15:46:08 +00:00
viewlog.js Bug 26572: (QA follow-up) Escape strings in autocomplete 2020-11-04 12:59:34 +01:00
xmlControlfield.js
z3950_search.js Bug 23302: Less clicks on Z3950 search results 2021-01-27 14:36:26 +01:00