]> git.koha-community.org Git - koha.git/commit
Bug 26008: Remove the use of jquery.checkboxes plugin from OPAC cart
authorOwen Leonard <oleonard@myacpl.org>
Fri, 17 Jul 2020 14:43:39 +0000 (14:43 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Mon, 17 Aug 2020 15:18:00 +0000 (15:18 +0000)
commit010f8a588520279d2d1c61d43e643000a0143cc2
tree356cfef117ffb6214efe0056484516d5b3aa8723
parent14aff6595bec1f157e35aff1f51a8400d3688bca
Bug 26008: Remove the use of jquery.checkboxes plugin from OPAC cart

This patch removes the use of the jquery.checkboxes plugin from the OPAC
cart and replaces its functionality with "plain" jQuery.

To test, apply the patch and add some items to the Cart in the OPAC.

 - Open the Cart window in the OPAC by clicking the "Cart" link in the
   header.
 - Test that the "Select all" and "Clear all" links work correctly to
   check and uncheck all checkboxes.
   - Controls like "Remove" and "Place hold" should be enabled or
     disabled according to whether there are any checked checkboxes.
 - Test that manually checking a checkbox correctly enables or disables
   the link options too.
 - Test that the "Remove" or "Place hold" controls work correctly,
   applying to only the checked checkboxes.

Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Bug 26008: (follow-up) Removed checkboxed class

This patch removes the "checkboxed" class which was previously
associated with the jquery.checkboxes plugin and is now obsolete.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit db1587520778bd940da389fab8f46a12c1c11f73)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-basket.tt