Bug 18545 [Follow-up] Remove use of onclick from OPAC Cart
authorOwen Leonard <oleonard@myacpl.org>
Fri, 9 Jun 2017 15:50:41 +0000 (15:50 +0000)
committerKatrin Fischer <katrin.fischer.83@web.de>
Tue, 1 Aug 2017 05:45:08 +0000 (07:45 +0200)
commitd3d68c2a0fa272d5a4e9ba144b4d93730a2ad691
tree27506ca58b7c62e0dfd866d3b500f82f9e93a665
parent1fdcd9769f75b3c6b9148addfdf96e814f703f24
Bug 18545 [Follow-up] Remove use of onclick from OPAC Cart

This patch makes a few corrections:

- Use 'e.preventDefault()' instead of 'return false' in changed
  sections.
- Modify the event handler on checkboxes to successfully handle the
  un-check action as well as the check action. (QA comment 5).

To test, follow the original test plan.

Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com>
Signed-off-by: Jesse Maseto <jesse@bywatersolutions.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 04a601ef659c64446790758ebbe369a2ce090875)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 970442bc39583a0491120fa60816ec4d819a7653)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-basket.tt