Bug 26010: Remove the use of jquery.checkboxes plugin from staff interface cart
authorOwen Leonard <oleonard@myacpl.org>
Fri, 17 Jul 2020 17:29:15 +0000 (17:29 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 13 Aug 2020 05:55:42 +0000 (07:55 +0200)
commit4cf5ef239f1e1a05c277a91f73b6fcd245eb5ec0
tree2afeac77a5865243cad2a4ec99d11fe98c7d4974
parentb332e0912d8883928061b10e87d0b8f3e7c9c30d
Bug 26010: Remove the use of jquery.checkboxes plugin from staff interface cart

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

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

- Open the Cart window in the staff interface 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.
- Test that the "Remove" or "Place hold" controls work correctly,
  applying to only the checked checkboxes whether they were checked
  using "Select all" or by manually checking them.

Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk>

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

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt
koha-tmpl/intranet-tmpl/prog/js/cart.js