]> git.koha-community.org Git - koha.git/commit
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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 31 Jul 2017 08:04:16 +0000 (10:04 +0200)
commit970442bc39583a0491120fa60816ec4d819a7653
treedab1464f6894c2771ae5efa1a0114db9f2cb59d2
parent38597cee18757669e450b8ce2d0941ee7a97173b
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>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-basket.tt