]> 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)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 24 Jul 2017 17:12:33 +0000 (14:12 -0300)
commit04a601ef659c64446790758ebbe369a2ce090875
tree5c42571e32cec70e074c64f83ee18a21909b3d11
parent1b4d4f989b1d6c589a08f21ce19a48dca9072ec7
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>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-basket.tt