Koha/koha-tmpl/opac-tmpl/bootstrap/js
Owen Leonard 60e60cad6e Bug 28910: Correct eslint errors in OPAC basket.js
This patch corrects eslint errors in the OPAC copy of basket.js:
Indentation inconsistencies, undeclared variables, unused functions,
etc.

To test, apply the patch and test the "Cart" functionality in the
OPAC:

- In the OPAC, add an item to the cart.
- A popup message should appear telling you the item has been added.
- The "Add to cart" link should update to read "In your cart."
- The count if cart items in the header should be updated.
- The "In your cart (remove)" link should work correctly.
- Test this process from both the search results and
  detail pages.
- Open the cart.
- The cart should open correctly.
- In the cart, test all the controls:
  - More details
  - Send
  - Download
  - Empty and close
  - Hide window
  - Print
  - Select all / clear all
  - With checked items:
    - Remove
    - Add to list
    - Place hold
    - Tag

The following unused functions were removed: readCookieValue,
AllAreChecked, SelectAll, and quit. A search of the Koha codebase should
return no results from the opac-tmpl directory.

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-11-02 16:06:51 +01:00
..
amazonimages.js Bug 10309 - New OPAC theme based on Bootstrap 2013-10-14 23:13:05 +00:00
authtoresults.js Bug 17153: Redirect to search when logging in from search 2018-06-29 20:49:51 +00:00
bakertaylorimages.js Bug 10309 - New OPAC theme based on Bootstrap 2013-10-14 23:13:05 +00:00
basket.js Bug 28910: Correct eslint errors in OPAC basket.js 2021-11-02 16:06:51 +01:00
browse.js Bug 27200: (follow-up) Browse search interface update 2020-12-26 17:58:43 +01:00
browserid_include.js Bug 10309 - New OPAC theme based on Bootstrap 2013-10-14 23:13:05 +00:00
coce.js Bug 28180: Correctly guess if images have been loaded 2021-10-21 12:24:04 +02:00
datatables.js Bug 28018: Replace obsolete title-string sorting: OPAC templates 2021-04-06 15:56:31 +02:00
Gettext.js Bug 21156: Add plural translation capabilities to JS files 2020-02-10 10:14:46 +00:00
global.js Bug 26505: Suspend hold modal broken in the OPAC 2020-09-28 11:08:03 +02:00
google-jackets.js Bug 28180: Correctly guess if images have been loaded 2021-10-21 12:24:04 +02:00
i18n.js Bug 21156: Add plural translation capabilities to JS files 2020-02-10 10:14:46 +00:00
ill-availability.js Bug 27170: Fix bug fix 2021-09-21 20:22:57 +02:00
localcovers.js Bug 28180: (follow-up) Updates to styling of lightbox controls 2021-10-21 12:24:04 +02:00
openlibrary.js Bug 28180: Correctly guess if images have been loaded 2021-10-21 12:24:04 +02:00
overdrive.js Bug 28536: Move translatable strings into overdrive.js 2021-09-21 20:22:57 +02:00
ratings.js Bug 25110: Allow patrons to add star ratings to titles on their summary/checkout page 2020-04-29 17:04:32 +01:00
recordedbooks.js Bug 17602: Move spinner location to include file 2018-10-01 13:56:59 +00:00
script.js Bug 26695: Add modal "shown" event to set cursor focus 2020-11-03 10:57:35 +01:00
tags.js Bug 10309 - New OPAC theme based on Bootstrap 2013-10-14 23:13:05 +00:00
verovio.js Bug 22581: Show and play musical inscripts 2019-11-03 08:11:38 +00:00